summaryrefslogtreecommitdiff
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-04-23 19:14:12 -0700
committerYorke Lee <yorkelee@google.com>2014-04-23 19:14:12 -0700
commitbe10b4111370a2d4dd982eb823f7f26c411bca40 (patch)
tree4ff45ded51444820a951c4c34ca86bf1f58979e9 /res/values/styles.xml
parentd999b71452baebec789f6f58f1955d30e834826d (diff)
Hide actionbar title text in activity preview
Bug: 14258061 Change-Id: Icb016476162362adf2476f3cba05672aa4f12a18
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 381ee3565..a4d9b4e40 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -89,6 +89,11 @@
<item name="android:windowActionBarOverlay">false</item>
</style>
+ <!-- Hide the actionbar title during the activity preview -->
+ <style name="DialtactsActivityTheme" parent="DialtactsTheme">
+ <item name="android:actionBarStyle">@style/DialtactsActionBarWithoutTitleStyle</item>
+ </style>
+
<style name="CallDetailActivityTheme" parent="android:Theme.Quantum.Light">
<item name="android:windowBackground">@color/background_dialer_light</item>
<item name="android:gravity">top</item>
@@ -158,6 +163,10 @@
<item name="android:icon">@android:color/transparent</item>
</style>
+ <style name="DialtactsActionBarWithoutTitleStyle" parent="DialtactsActionBarStyle">
+ <item name="android:displayOptions"></item>
+ </style>
+
<!-- Text in the action bar at the top of the screen -->
<style name="DialtactsActionBarTitleText"
parent="@android:style/TextAppearance.Quantum.Widget.ActionBar.Title">