Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 263b01dd authored by Tyler Gunn's avatar Tyler Gunn
Browse files

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 edd27f49)
parent 82e17500
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@
             dialpad screen. -->
        <activity android:name=".DialtactsActivity"
            android:label="@string/launcherDialer"
            android:theme="@style/DialtactsTheme"
            android:theme="@style/DialtactsThemeHiddenActionBar"
            android:launchMode="singleTask"
            android:clearTaskOnLaunch="true"
            android:icon="@mipmap/ic_launcher_phone"
+12 −0
Original line number Diff line number Diff line
@@ -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">