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

Commit d115369c authored by Andrew Sapperstein's avatar Andrew Sapperstein
Browse files

Update buttons to use proper styles.

Autofill Save button now using Widget.DeviceDefault.Button.Colored.

Updates Theme.DeviceDefault.Resolver to use DeviceDefault styles
for attributes.

Change-Id: I78b3665f57b9356807882f1db6d20665ef296ef1
Fixes: 69973278
Fixes: 73861181
Test: visual inspection
parent c5d0ed9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@
                android:id="@+id/autofill_save_yes"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                style="@style/Widget.Material.Button.Colored"
                style="@style/Widget.DeviceDefault.Button.Colored"
                android:text="@string/autofill_save_yes">
            </Button>

+4 −0
Original line number Diff line number Diff line
@@ -1449,6 +1449,10 @@ easier.
        <item name="dialogCornerRadius">@dimen/config_dialogCornerRadius</item>
        <item name="alertDialogTheme">@style/Theme.DeviceDefault.Light.Dialog.Alert</item>

        <!-- Button styles -->
        <item name="buttonCornerRadius">@dimen/config_buttonCornerRadius</item>
        <item name="buttonBarButtonStyle">@style/Widget.DeviceDefault.Button.ButtonBar.AlertDialog</item>

        <!-- Color palette -->
        <item name="colorPrimary">@color/primary_device_default_light</item>
        <item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>