Merge "Status bar background color should not be transparent."
This commit is contained in:
committed by
Android (Google) Code Review
commit
54ea3cc589
@@ -1475,6 +1475,9 @@ public interface WindowManager extends ViewManager {
|
||||
* <p>When this flag is enabled for a window, it automatically sets
|
||||
* the system UI visibility flags {@link View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
|
||||
* {@link View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.</p>
|
||||
*
|
||||
* <p>Note: For devices that support
|
||||
* {@link android.content.pm.PackageManager#FEATURE_AUTOMOTIVE} this flag may be ignored.
|
||||
*/
|
||||
public static final int FLAG_TRANSLUCENT_STATUS = 0x04000000;
|
||||
|
||||
@@ -1494,6 +1497,10 @@ public interface WindowManager extends ViewManager {
|
||||
* <p>When this flag is enabled for a window, it automatically sets
|
||||
* the system UI visibility flags {@link View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
|
||||
* {@link View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.</p>
|
||||
*
|
||||
* <p>Note: For devices that support
|
||||
* {@link android.content.pm.PackageManager#FEATURE_AUTOMOTIVE} this flag can be disabled
|
||||
* by the car manufacturers.
|
||||
*/
|
||||
public static final int FLAG_TRANSLUCENT_NAVIGATION = 0x08000000;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<color name="system_bar_background_opaque">#ff172026</color>
|
||||
|
||||
<color name="status_bar_background_color">#33000000</color>
|
||||
<drawable name="system_bar_background">@android:color/transparent</drawable>
|
||||
<drawable name="system_bar_background">@color/status_bar_background_color</drawable>
|
||||
|
||||
<!-- The background color of the notification shade -->
|
||||
<color name="notification_shade_background_color">#D6000000</color>
|
||||
|
||||
Reference in New Issue
Block a user