How to customize the top status bar in an Android

2019-07-17 09:02发布

Specifically I want to change the text and background colors. Is it possible to change the colors of the 'animated progress wheel' too? Can I use a theme to do this? Can anyone point me to an example theme I can look at?

2条回答
仙女界的扛把子
2楼-- · 2019-07-17 09:14

I believe you can use a custom view for the app's title bar. See the answers to this question: Custom title with image

查看更多
Viruses.
3楼-- · 2019-07-17 09:20

If by "top status bar" you mean where the battery meter and signal meter and notifications go, you cannot change it from an app. You can set a theme to remove it (e.g., Theme.NoTitleBar.Fullscreen). This is usually used for applications that truly need the full screen, such as video players and some games.

查看更多
登录 后发表回答