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

Commit ad358550 authored by James Cook's avatar James Cook
Browse files

Fix ActionButton.CloseMode minWidth to match Toolbar.Button.Navigation

They both need to be 56dp for the buttons to line up properly.

This ports If24608d9f8dbf912025967bf3adef13df105ddaa from
frameworks/support in lmp-mr1-ub-dev

Bug: 19317317
Change-Id: Ie1f77b8cfada45bb9f8b2d14e68c364ae4ebf579
parent aaf68f21
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1279,6 +1279,8 @@ please see styles_device_defaults.xml.
    </style>

    <style name="Widget.ActionButton.CloseMode">
        <!-- Should match Widget.Toolbar.Button.Navigation minWidth. -->
        <item name="minWidth">56dp</item>
    </style>

    <style name="Widget.ActionBar.TabView" parent="Widget">
+2 −0
Original line number Diff line number Diff line
@@ -866,6 +866,8 @@ please see styles_device_defaults.xml.

    <style name="Widget.Material.ActionButton.CloseMode">
        <item name="background">@drawable/control_background_material</item>
        <!-- Should match Widget.Material.Toolbar.Button.Navigation minWidth. -->
        <item name="minWidth">56dp</item>
    </style>

    <style name="Widget.Material.ActionButton.Overflow">