apkfuckery/com.discord/res/layout/view_setting_switch.xml

11 lines
1.2 KiB
XML
Raw Normal View History

2019-07-24 11:27:29 +00:00
<?xml version="1.0" encoding="utf-8"?>
<merge style="@style/UiKit.ViewGroup"
2020-03-04 00:13:28 +00:00
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
2019-07-24 11:27:29 +00:00
<RelativeLayout android:id="@id/setting_container" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.RelativeLayout">
2019-11-20 22:09:14 +00:00
<LinearLayout android:layout_centerVertical="true" android:layout_toStartOf="@id/setting_button" android:layout_alignParentStart="true" style="@style/UiKit.ViewGroup.LinearLayout">
2019-07-24 11:27:29 +00:00
<TextView android:id="@id/setting_label" style="@style/UiKit.TextView" />
<TextView android:id="@id/setting_subtext" android:layout_marginTop="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
</LinearLayout>
2020-03-04 00:13:28 +00:00
<com.google.android.material.switchmaterial.SwitchMaterial android:id="@id/setting_button" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_alignParentEnd="true" app:thumbTint="@color/switch_thumb_color" app:useMaterialThemeColors="true" />
2019-07-24 11:27:29 +00:00
</RelativeLayout>
</merge>