diff options
| author | 2021-06-09 10:24:08 +0000 | |
|---|---|---|
| committer | 2021-06-09 10:24:08 +0000 | |
| commit | 30e3d7a157702c809aebeefd6f83f49f07eff3ef (patch) | |
| tree | 47c408fddf78e945e26c6e977020e379c9bcf319 | |
| parent | 80aaf8817ad3cf1a656551b69b28c996723a54ec (diff) | |
| parent | 80417b8af381de7535df4081fdac9af1d30f25b1 (diff) | |
Merge "Tweak RestrictedSwitchPreference icon" into sc-dev
| -rw-r--r-- | packages/SettingsLib/res/layout/restricted_switch_widget.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SettingsLib/res/layout/restricted_switch_widget.xml b/packages/SettingsLib/res/layout/restricted_switch_widget.xml index 5dbcb7952e88..1520ac88f5db 100644 --- a/packages/SettingsLib/res/layout/restricted_switch_widget.xml +++ b/packages/SettingsLib/res/layout/restricted_switch_widget.xml @@ -16,11 +16,11 @@ <merge 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:layout_width="@*android:dimen/config_restrictedIconSize" + android:layout_width="@dimen/two_target_min_width" android:layout_height="@*android:dimen/config_restrictedIconSize" android:tint="?android:attr/colorAccent" 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 --> <Switch xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/switch_widget" |