I understand from this link to create a notification in the android status bar. However, if my content title is too long, the word will get cut off. May i know how to enable a “bouncing” effect in the content title of the notification? I.e: if the user is in the notification drawer and the content title is too long, it will slowly scroll to the back automatically, all in 1 line.
Share
This is already the stock behavior for a
Notification. TheViewthat holds theNotificationtitle and text implementsandroid:ellipsize="marquee", and will therefore scroll if the width of the content exceeds the width of theView. This effect only occurs if the Notification is focused.