Custom status bar

I want to implement a custom status bar, such as a super-status application, from the market. Super-status bar

So far I have no solution. Can anyone give me an idea?

+4
source share
1 answer

Check out the WindowManager class. Essentially, you put the View on top of the status bar (position 0, 0). You will need to correctly adjust the height, use BroadcastReceivers and other APIs to update Views with the current state of the device (for example, battery, signal, time, etc.). It can be done, it is very difficult.

Source: Iā€™m the developer of StatusBar + , the application on which the status bar is based. It was open source in its alpha builds, but is no longer available.

+3
source

Source: https://habr.com/ru/post/1413723/


All Articles