B bluedude Well-Known Member Licensed User Longtime User Nov 11, 2014 #1 Hi, I have some text that needs to be cut off at a certain position to fit inside a label. To show the user it is cut off I want to add 3 points: ... The label is fitted between two other views so based on the density the label width will be different. Any suggestions to make this perfect on all devices?
Hi, I have some text that needs to be cut off at a certain position to fit inside a label. To show the user it is cut off I want to add 3 points: ... The label is fitted between two other views so based on the density the label width will be different. Any suggestions to make this perfect on all devices?
derez Expert Licensed User Longtime User Nov 11, 2014 #2 Try this solution. http://www.b4x.com/android/forum/th...-content-in-customlistview.39097/#post-231905 Upvote 0
Try this solution. http://www.b4x.com/android/forum/th...-content-in-customlistview.39097/#post-231905
klaus Expert Licensed User Longtime User Nov 11, 2014 #3 Have a look at Ellipsizing in LabelUtils. Upvote 0