From bbc6f3e631f66b403339fabee88abc46ba9bfcd4 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Mon, 7 Apr 2014 13:21:38 -0700 Subject: [PATCH] Revert action bar theme attribute BUG: 13878093 Change-Id: I7cc4e270854f66d604a6e22eafbeef37c968fdae --- api/current.txt | 1 + core/res/res/layout/screen_action_bar.xml | 10 +++++----- core/res/res/values/attrs.xml | 4 ++++ core/res/res/values/public.xml | 1 + core/res/res/values/themes_quantum.xml | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/api/current.txt b/api/current.txt index c6c8e42101a4..ae4be123da06 100644 --- a/api/current.txt +++ b/api/current.txt @@ -246,6 +246,7 @@ package android { field public static final int actionBarTabBarStyle = 16843508; // 0x10102f4 field public static final int actionBarTabStyle = 16843507; // 0x10102f3 field public static final int actionBarTabTextStyle = 16843509; // 0x10102f5 + field public static final int actionBarTheme = 16843836; // 0x101043c field public static final int actionBarWidgetTheme = 16843671; // 0x1010397 field public static final int actionButtonStyle = 16843480; // 0x10102d8 field public static final int actionDropDownStyle = 16843479; // 0x10102d7 diff --git a/core/res/res/layout/screen_action_bar.xml b/core/res/res/layout/screen_action_bar.xml index b1afec13075b..77f537b32837 100644 --- a/core/res/res/layout/screen_action_bar.xml +++ b/core/res/res/layout/screen_action_bar.xml @@ -24,7 +24,7 @@ This is an optimized layout for a screen with the Action Bar enabled. android:layout_width="match_parent" android:layout_height="match_parent" android:splitMotionEvents="false" - android:theme="?attr/actionBarWidgetTheme"> + android:theme="?attr/actionBarTheme"> @@ -33,25 +33,25 @@ This is an optimized layout for a screen with the Action Bar enabled. android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" - style="?android:attr/actionBarStyle" + style="?attr/actionBarStyle" android:sharedElementName="android:action_bar" android:gravity="top"> + style="?attr/actionBarStyle" /> + style="?attr/actionModeStyle" /> diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 362182e092b3..ef6b07591e44 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -691,6 +691,10 @@ buttons. actionBarStyle is still used for the primary bar. --> + + -- 2.11.0