Android Question Label Gravity.Right when the text is too long

JLS

Member
Licensed User
Longtime User
Hi,

I'm using a label to show some information which is updated by code.

When the text is too long the label shows the text from the left, and the final part of it is truncated.

I want the label to show the final part of the text, truncating the begining.

At first, I thougth that changing the gravity property would be enough. But this didn't work.

I have tried with an EditText too. Same result.

How can I do this effect?

Thanks in advance. Cheers
 
Top