Skip to content Skip to sidebar Skip to footer

Custom Notification Marquee Text Doesnt Work Android

Hi im trying to make part of my text in the notification manager marquee but doesnt work i tried this: Copy

i added <requestFocus/> and now my marquee works perfect.

Solution 2:

According to the docs, setting the scrollHorizontally attribute to true will NOT wrap the text at the edge. Try setting it to false so the ellipsize attribute is used.

Solution 3:

I lost a day to realize thats the marquee effect is done by this method from NotificationCompat.Builder: setTicker which support RemoteView

I really hope that answer save many lives :) (almost lost my hair)

Post a Comment for "Custom Notification Marquee Text Doesnt Work Android"