diff options
-rw-r--r-- | AndroidManifest.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e36c83412..7795aa826 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -68,7 +68,7 @@ dialpad screen. --> <activity android:name=".DialtactsActivity" android:label="@string/launcherDialer" - android:theme="@style/DialtactsTheme" + android:theme="@style/DialtactsActivityTheme" android:launchMode="singleTask" android:clearTaskOnLaunch="true" android:icon="@mipmap/ic_launcher_phone" diff --git a/res/values/styles.xml b/res/values/styles.xml index a0e8aebf1..766e86cd8 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> @@ -162,6 +167,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"> |