> Hi. I am facing an issue. > I created the notification that should work for any application(e.g. > bluetooth, SMS etc) > In the layout, the code is thus > android:singleLine="true" > android:ellipsize="end" > > The text that is received is ticker as well. > > When any notification is received, instead of ellipsizing it, the part > that does not fit in one line is truncated. > i.e. if the line is "There are a lot of good things in universe", it > will show as "There are lot of " > instead of "There are lot of ..." > > Do Ticker text and ellipsize contradict each other?
You do not control how the ticker text is presented. If Android does not ellipsize it, then Android does not ellipsize it. You can file an enhancement request for this at http://b.android.com. You can do a rough-cut ellipsizing yourself (e.g., any message over 16 characters gets truncated at the nearest non-alphanumeric value and ... appended to the end) if you wish. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.

