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

Commit 88f8b84e authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 5214224 - Align stock framework list item padding for dialogs

Set holo dialog themes to 16dip of padding for list items to align with
theme dialog metrics.

Change-Id: Ia07c08f05fadfe8bbcb596d6fe8a27cc14805c6c
parent 4eb37f8a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1540,6 +1540,9 @@ please see themes_device_defaults.xml.
        
        <item name="textAppearance">@android:style/TextAppearance.Holo</item>
        <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Inverse</item>

        <item name="listPreferredItemPaddingLeft">16dip</item>
        <item name="listPreferredItemPaddingRight">16dip</item>
    </style>

    <!-- Variation of Theme.Holo.Dialog that has a nice minumum width for
@@ -1629,6 +1632,9 @@ please see themes_device_defaults.xml.

        <item name="textAppearance">@android:style/TextAppearance.Holo.Light</item>
        <item name="textAppearanceInverse">@android:style/TextAppearance.Holo.Light.Inverse</item>

        <item name="listPreferredItemPaddingLeft">16dip</item>
        <item name="listPreferredItemPaddingRight">16dip</item>
    </style>

    <!-- Variation of Theme.Holo.Light.Dialog that has a nice minumum width for