summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2015-03-31 10:50:00 +0800
committerkaiyiz <kaiyiz@codeaurora.org>2015-03-31 10:50:10 +0800
commit7ad4c554ba74ad142ac4d6a011023f482d2d1e75 (patch)
tree469c59e8344c15ea1cd98d7ff9adde900d914c8b
parent85e2b37863a0d95f8b9975d7bc36c09e4aa53cb7 (diff)
downloadandroid_packages_apps_Dialer-7ad4c554ba74ad142ac4d6a011023f482d2d1e75.tar.gz
android_packages_apps_Dialer-7ad4c554ba74ad142ac4d6a011023f482d2d1e75.tar.bz2
android_packages_apps_Dialer-7ad4c554ba74ad142ac4d6a011023f482d2d1e75.zip
Dialer: Fix "Type a name of phone number" in search box display incomplete
The Widget.Material.ActionBar has 16dp to the right as the parent of DialtactsActionBarStyle, and it will cause no enough room to show the text "Type a name of phone number". Override ActionBar title offset to keep search box aligned right. Change-Id: I1a8878932f4517593cbfd628c27aba1228339e75 CRs-Fixed: 809652
-rw-r--r--res/values/styles.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 8f2d788af..d895b7a91 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -154,6 +154,7 @@
<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>
+ <item name="android:contentInsetEnd">0px</item>
</style>
<!-- Text in the action bar at the top of the screen -->