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
2
Answers
you have to use Position: "absolute", with suitable value for bottom,top,left,right
to keep the username View next to @ in different View
tweak the top and left value as per position, only after padding, margin etc done and set to View that contains @
This is a good library for it. The result of that library is below: