diff options
author | John Spurlock <jspurlock@google.com> | 2013-09-18 16:33:57 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2013-09-19 11:28:54 -0400 |
commit | e631b41d8be2952db48df5838c6fb5d8df4645d1 (patch) | |
tree | 297689304283e5339f22e10b0b13a420084ce324 /packages/SystemUI/res/layout | |
parent | a2d65108dd32a0836fe08f0c72efdd5c727dad44 (diff) | |
download | frameworks_base-e631b41d8be2952db48df5838c6fb5d8df4645d1.zip frameworks_base-e631b41d8be2952db48df5838c6fb5d8df4645d1.tar.gz frameworks_base-e631b41d8be2952db48df5838c6fb5d8df4645d1.tar.bz2 |
Draw gradient behind fully transparent system bars.
Use a transition-drawable to crossfade between the gradient and
solid color backgrounds, avoiding custom onDraw.
Rename colors to their final names. Since both bars now receive the
gradient treatment, centralize in base BarTransitions.
Bug:10602521
Change-Id: Id094fa1767eabab88a3709d6026c23858c83fb5b
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r-- | packages/SystemUI/res/layout/navigation_bar.xml | 2 | ||||
-rw-r--r-- | packages/SystemUI/res/layout/status_bar.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/res/layout/navigation_bar.xml b/packages/SystemUI/res/layout/navigation_bar.xml index 09923a7..5587f4e 100644 --- a/packages/SystemUI/res/layout/navigation_bar.xml +++ b/packages/SystemUI/res/layout/navigation_bar.xml @@ -23,7 +23,7 @@ xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" android:layout_height="match_parent" android:layout_width="match_parent" - android:background="#FF000000" + android:background="@drawable/system_bar_background" > <FrameLayout android:id="@+id/rot0" diff --git a/packages/SystemUI/res/layout/status_bar.xml b/packages/SystemUI/res/layout/status_bar.xml index 4741cec..b3c2f6e 100644 --- a/packages/SystemUI/res/layout/status_bar.xml +++ b/packages/SystemUI/res/layout/status_bar.xml @@ -23,7 +23,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" android:id="@+id/status_bar" - android:background="@drawable/status_bar_background" + android:background="@drawable/system_bar_background" android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants" |