Vote count:
0
I have this textView in my app for which singleLine is set as true.
When I call setMovementMethod(LinkMovementMethod.getInstance()) on it and set some arabic or urdu text, the text is not visible. Although the textview is visible(i have checked by applying color on its background.
I tried using maxlines=1 instead of single line which fixes visibility problem, but my text being very long, the text in textview becomes scrollable instead of being ellipsized.
Am I doing something wrong? Is there a way to mmake text ellipsized instead of scrolling in case of maxlines=1?
Appreciate any help.
asked 2 mins ago
Text is not visible when setmovementmethod is called on a textview with singleline is true
Aucun commentaire:
Enregistrer un commentaire