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

Commit b33be1c6 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 3208911 - apps not getting default ActionBar style values

Change-Id: Ie2855d6ebbaf49d187dc8bd63fda7f1b397325b5
parent 1c603001
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -173,7 +173,8 @@ public class ActionBarView extends ViewGroup {
        final LayoutInflater inflater = LayoutInflater.from(context);

        final int homeResId = a.getResourceId(
                com.android.internal.R.styleable.ActionBar_homeLayout, 0);
                com.android.internal.R.styleable.ActionBar_homeLayout,
                com.android.internal.R.layout.action_bar_home);

        mHomeLayout = inflater.inflate(homeResId, this, false);

+1 −1
Original line number Diff line number Diff line
@@ -917,7 +917,7 @@
        <item name="android:subtitleTextStyle">@android:style/TextAppearance.Widget.ActionBar.Subtitle</item>
        <item name="android:progressBarStyle">@android:style/Widget.ProgressBar.Horizontal</item>
        <item name="android:indeterminateProgressStyle">@android:style/Widget.ProgressBar.Small</item>
        <item name="android:homeLayout">@layout/action_bar_home</item>
        <item name="android:homeLayout">@android:layout/action_bar_home</item>
    </style>

    <style name="Widget.ActionMode">
+1 −0
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@

        <item name="groupButtonBackground">@null</item>
        <item name="selectableItemBackground">@android:drawable/item_background</item>
        <item name="homeAsUpIndicator">@android:drawable/ic_ab_back_holo_dark</item>

        <!-- List attributes -->
        <item name="listPreferredItemHeight">64dip</item>