From 9e8da783a8e8ffbea6d64c8bad21cab526368ba5 Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Mon, 11 Jul 2011 18:29:18 -0700 Subject: [PATCH] Fix action bar text styles. This makes custom styles in landscape,portrait, and tablet mode since the action bar real estate differs in those modes. Bug: 5010826 Change-Id: I2bd6bdcf9adc44a4d0084d4b2bfbffb472f03643 --- res/layout/action_bar_spinner.xml | 60 ++++++++++++++----------------- res/values-land/styles.xml | 41 +++++++++++++++++++++ res/values-sw600dp/styles.xml | 12 +++++++ res/values/styles.xml | 14 ++++++++ 4 files changed, 93 insertions(+), 34 deletions(-) create mode 100644 res/values-land/styles.xml diff --git a/res/layout/action_bar_spinner.xml b/res/layout/action_bar_spinner.xml index b8dde9c19..f7183c71a 100644 --- a/res/layout/action_bar_spinner.xml +++ b/res/layout/action_bar_spinner.xml @@ -14,50 +14,42 @@ limitations under the License. --> - - - - - - + + + + + diff --git a/res/values-land/styles.xml b/res/values-land/styles.xml new file mode 100644 index 000000000..4e6068c58 --- /dev/null +++ b/res/values-land/styles.xml @@ -0,0 +1,41 @@ + + + + + + + + + + diff --git a/res/values-sw600dp/styles.xml b/res/values-sw600dp/styles.xml index f297eb388..13680aaa5 100644 --- a/res/values-sw600dp/styles.xml +++ b/res/values-sw600dp/styles.xml @@ -123,4 +123,16 @@ 420dip match_parent + + + + diff --git a/res/values/styles.xml b/res/values/styles.xml index 9e78b32c5..487744483 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -160,6 +160,20 @@ end + + + +