I'm working on a lib where I want to use some textviews as labels which should behave like those in a dialog title.
As you can see in the attachments, a short text is dislayed the "normal" way. If the text doesn't fit one row, the textsize gets slightly decreased and the hight gets increased to fit for the second row. If you set a really long title the view does not show a third row but "..." to indicate that not all information is displayed.
Does the android sdk provide a special layout for this or do I have to implement this on my own? If so, how can this be done?
Anyone?
specci48
As you can see in the attachments, a short text is dislayed the "normal" way. If the text doesn't fit one row, the textsize gets slightly decreased and the hight gets increased to fit for the second row. If you set a really long title the view does not show a third row but "..." to indicate that not all information is displayed.
Does the android sdk provide a special layout for this or do I have to implement this on my own? If so, how can this be done?
Anyone?
specci48