android-viewflow icon indicating copy to clipboard operation
android-viewflow copied to clipboard

TitleFlowIndicator - title disappears

Open b3nc3 opened this issue 13 years ago • 2 comments

If I have relatively long title name (that won't fit the screen), title disappears. Please fix it. Very good job by the way!

b3nc3 avatar Aug 03 '11 12:08 b3nc3

I tried the TitleFlowIndicator with a very long title and even though it doesn't really fit anymore it only seems to disappear when shown on the left side of the title view. Anyway, I don't believe that the TitleFlowIndicator should be responsible for deciding what to do with the text (which is apparently to long). Instead I believe you should implement that kind of logic in your TitleProvider. Preferably you could crop the text if it's to long in the getTitle method in your TitleProvider implementation.

pakerfeldt avatar Aug 05 '11 18:08 pakerfeldt

I'm going to fix this by using textviews on canvas. I'll let you know when I'm done.

b3nc3 avatar Aug 16 '11 13:08 b3nc3