Home > OS >  How to set the part of the text view between @ and alphanumeric (same as telegram user) is clickable
How to set the part of the text view between @ and alphanumeric (same as telegram user) is clickable

Time:05-06

I want to convert the part of a string (textview) that contains the username to clickable and after the user clicks, move it to the same user's profile page (like messengers like Telegram) For example : My username in Telegram is @Khapez

I'm going to make Khapez clickable

Thank you all

CodePudding user response:

enter image description here

CodePudding user response:

you have to use Position: "absolute", with suitable value for bottom,top,left,right to keep the username View next to @ in different View

  • Related