Statusbar Translucent with Tint on Kitkat

烂漫一生 提交于 2019-12-07 12:03:26

Have you tried to set color over the pattern #OORRGGBB?

Example: #50ff0000. The first two numbers are the opacity.

Anyway, I've found this project that might help you.

https://github.com/jgilfelt/SystemBarTint

I am pretty sure that the samsung dialer app gets root permissions because it's a system app. To set a flat background, you would either need root permission or somehow simulate a samsung app to gain access. I think the gradient is your best option.

You could also set your app to full screen and simulate fake system bars that change based on the device so that they look the same as the normal ones, but that would take a lot of time to make.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!