开发者

How to create a status bar icon on the right side? (Android)

开发者 https://www.devze.com 2022-12-24 07:29 出处:网络
Notification and NotificationManager are used to cr开发者_运维问答eate icons to be placed on the top-left position of the screen. A Notification also need to have an entry on the status bar pull-down.

Notification and NotificationManager are used to cr开发者_运维问答eate icons to be placed on the top-left position of the screen. A Notification also need to have an entry on the status bar pull-down.

However, icons on the right side such as the battery, signal strength, wireless indicators do not need any entry on the status bar.

How do I make such icons without any entry in the status bar pull-down?


I believe the right side area of the notification bar is reserved for the OS.


Why would you accept the above answer . . . if you take the android source and build it yourself then setting the icon on the right side isn't impossible. I've Started a new Question with this check here How to create a Notification \ status bar icon on the right side?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号