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

Commit 1485ef55 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Increase the touch target size of switch widgets" into qt-dev

parents 329b5e02 632bc3b4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@
            <item type="style" name="PermissionReviewTitleMessage" />

            <item type="style" name="PermissionReviewSettings" />
            <item type="style" name="PermissionReviewSwitchStyle" />

            <item type="style" name="PermissionReviewButtonBar" />
            <item type="style" name="PermissionReviewButtonBarSpace" />
+6 −0
Original line number Diff line number Diff line
@@ -144,6 +144,12 @@
        <item name="android:layout_marginEnd">8dp</item>
    </style>

    <style name="PermissionReviewSwitchStyle"
           parent="@android:style/Widget.Material.CompoundButton.Switch">
        <item name="android:minWidth">48dp</item>
        <item name="android:minHeight">48dp</item>
    </style>

    <style name="PermissionReviewButtonBar">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@
           parent="@android:style/Theme.DeviceDefault.Settings">
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:switchStyle">@style/PermissionReviewSwitchStyle</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
    </style>