Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Notification and NotificationManager are used to create 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?

like image 218
Randy Sugianto 'Yuku' Avatar asked Mar 29 '10 17:03

Randy Sugianto 'Yuku'


People also ask

How can I change my status bar position in Android?

To customize it, first pull down the slider bar from the top of the screen. Next, tap on the three vertical dots in the top right corner. Now click on Status bar. You're in.

What are the icons on the top right of my Android phone?

What Is the Android Status Bar? The status bar on Android is the bar of icons running across the top of your screen. The top right corner is dedicated to the major status of your device, while the left is used for app notifications.


2 Answers

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

like image 165
Mark B Avatar answered Sep 24 '22 17:09

Mark B


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?

like image 21
Prince Champappilly Avatar answered Sep 24 '22 17:09

Prince Champappilly