summaryrefslogtreecommitdiff
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-07-28 16:34:59 -0700
committerNancy Chen <nancychen@google.com>2014-07-28 16:34:59 -0700
commit5d5b6042a71ffc02e5f0bc6996348dd6ee96bb23 (patch)
treea40572a96ecd3bc71d67ef5fd733a808a6f81bd7 /res/values/styles.xml
parentb8170de2a2d0e5cd3812720fe50616fae319413c (diff)
Shift actionbar title to the 72dp line.
Action bar title should be shifted to the right. Bug: 16627750 Change-Id: Ief0cb6dc49d5067aa5448a8cbaa21e6cb96b9bf5
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 4f4cb18ff..9601a4b9e 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -123,12 +123,15 @@
<item name="android:height">@dimen/action_bar_height</item>
<!-- Empty icon -->
<item name="android:icon">@android:color/transparent</item>
- <item name="android:contentInsetStart">0px</item>
+ <!-- Shift the title text to the right -->
+ <item name="android:contentInsetStart">@dimen/actionbar_contentInsetStart</item>
</style>
<style name="DialtactsActionBarWithoutTitleStyle" parent="DialtactsActionBarStyle">
<item name="android:displayOptions"></item>
<item name="android:height">@dimen/action_bar_height_large</item>
+ <!-- Override ActionBar title offset to keep search box aligned left -->
+ <item name="android:contentInsetStart">0px</item>
</style>
<!-- Text in the action bar at the top of the screen -->