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

Commit 80417b8a authored by Edgar Wang's avatar Edgar Wang
Browse files

Tweak RestrictedSwitchPreference icon

- Adjust layout_width
- Make icon center

Bug: 189745450
Test: visual
Change-Id: I6bd4ddcdfde4600dbf15a8a8831f63fee118ec01
parent ad87e568
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -16,11 +16,11 @@
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<merge xmlns:android="http://schemas.android.com/apk/res/android">
    <ImageView xmlns:android="http://schemas.android.com/apk/res/android"
    <ImageView xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/restricted_icon"
        android:id="@+id/restricted_icon"
        android:layout_width="@*android:dimen/config_restrictedIconSize"
        android:layout_width="@dimen/two_target_min_width"
        android:layout_height="@*android:dimen/config_restrictedIconSize"
        android:layout_height="@*android:dimen/config_restrictedIconSize"
        android:tint="?android:attr/colorAccent"
        android:tint="?android:attr/colorAccent"
        android:src="@*android:drawable/ic_info"
        android:src="@*android:drawable/ic_info"
        android:gravity="end|center_vertical" />
        android:gravity="center" />
    <!-- Based off frameworks/base/core/res/res/layout/preference_widget_switch.xml -->
    <!-- Based off frameworks/base/core/res/res/layout/preference_widget_switch.xml -->
    <Switch xmlns:android="http://schemas.android.com/apk/res/android"
    <Switch xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@android:id/switch_widget"
        android:id="@android:id/switch_widget"