diff options
author | Tyler Gunn <tgunn@google.com> | 2014-03-13 10:00:53 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2014-03-14 18:46:08 +0000 |
commit | 263b01ddc35396c3aef17bee547f1e568fcc97d1 (patch) | |
tree | 7665174f2c47653d29c356669f5c4d55d1e61c45 /res | |
parent | 82e17500c9757c85b84e50adf678319e2e2d2308 (diff) | |
download | android_packages_apps_Dialer-263b01ddc35396c3aef17bee547f1e568fcc97d1.tar.gz android_packages_apps_Dialer-263b01ddc35396c3aef17bee547f1e568fcc97d1.tar.bz2 android_packages_apps_Dialer-263b01ddc35396c3aef17bee547f1e568fcc97d1.zip |
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
Bug: 13438027
Change-Id: I3d46778a63df15fb9d44bd281e2ef8b20602f677
(cherry picked from commit edd27f498187a7aa09b0c09e8712e5c1309d39b2)
Diffstat (limited to 'res')
-rw-r--r-- | res/values/styles.xml | 12 |
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"> |