summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-03-14 20:11:58 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-14 20:11:58 +0000
commit4cec34455ee8ceae129fad4e2f13bb5c8961b7af (patch)
tree1816a38ea0e54e2da31aee4fac21bb18300fd70c /res
parent45e958944e08ea51942aa17d48ff4ded858f7b5c (diff)
parent301c7155e92e21934baca1d760dc80e3bba97a56 (diff)
am 301c7155: am 263b01dd: Changed dialer launch activity style to use a 0dp height actionbar. This prevents the user from seeing a blue "Phone" actionbar during loading. DO NOT MERGE
* commit '301c7155e92e21934baca1d760dc80e3bba97a56': Changed dialer launch activity style to use a 0dp height actionbar. This prevents the user from seeing a blue "Phone" actionbar during loading. DO NOT MERGE
Diffstat (limited to 'res')
-rw-r--r--res/values/styles.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 207ab6bcc..1025d0fdc 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -77,6 +77,18 @@
<item name="favorites_padding_bottom">?android:attr/actionBarSize</item>
</style>
+ <!-- An extension of the main DialtactsTheme used when the the launcher activity is shown.
+ Ensures that there is no actionbar showing during the load of the dialer app. -->
+ <style name="DialtactsThemeHiddenActionBar" parent="DialtactsTheme">
+ <item name="android:actionBarStyle">@style/DialtactsHiddenActionBarStyle</item>
+ </style>
+
+ <!-- A "hidden" action bar style. Used when loading the launcher activity so that the
+ default actionbar is effectively hidden. -->
+ <style name="DialtactsHiddenActionBarStyle" parent="DialtactsActionBarStyle">
+ <item name="android:height">0dp</item>
+ </style>
+
<!-- Action bar overflow menu icon. -->
<style name="DialtactsActionBarOverflow"
parent="@android:style/Widget.Holo.ActionButton.Overflow">