Android Question Get and Set Width of text label

alirezahassan

Active Member
Licensed User
hi all,
i have a label that has a text like this:
Hi, Dear ....
Thank You
Alireza Hassanzadeh
so i want to get width of this label and set it to the label and the bottom panel.
i see the outher thread but these give me single line width . and has a bug for CRLF of Enter Character.
what should i do to get width of long text correctly?
 

alirezahassan

Active Member
Licensed User
I'm not sure that I completely understand
I want width of label
In other thread, first exchange text to single line then give width of label
It seems remove enter characters or CRLF characters then give width of label
So it has bugs for them
What should I do?
 
Upvote 0
Top