Is it possible to programmatically change the bar status?
- yeah, given that different manufacturers are trying to squeeze their megaluncher, the task becomes more interesting. And on 4.4 it is already transparent (at least on the launcher, which comes with the fifth nexus) - KoVadim
- developer.android.com/about/versions/android-4.4.html#UI Translucent system bars You can download examples for the latest sdk, there is in the interface section how to do this. But this is only for API 19 and above - Deadkenny
|
1 answer
Sure you may
drawable.setAlpha(alpha); getActionBar().setBackgroundDrawable(drawable); - This function only appeared in API 11, and I use API 10 for compatibility with 2.3.3, it turns out, I need to use API 11, but do I perform this function depending on the version? - azat
- Does it seem to me or does this code change only the background status of the bar? And I need all the status bar, including the icons to be transparent. - azat
- icons should be made transparent separately - andreich
- This is not a status bar, under the status bar, I meant a strip with information about Wi-Fi, battery, etc., at the very top of the screen. - azat
- and where to prescribe it? - user17862
|