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

11 lines
1.3 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<merge style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
2020-09-02 04:07:20 +00:00
<RelativeLayout android:id="@id/setting_container" android:background="?selectableItemBackground" android:padding="16.0dip" android:focusable="true" android:clickable="true" style="@style/UiKit.ViewGroup.RelativeLayout">
2020-05-17 12:40:10 +00:00
<LinearLayout android:layout_centerVertical="true" android:layout_toStartOf="@id/setting_button" android:layout_alignParentStart="true" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:id="@id/setting_label" style="@style/UiKit.TextView" />
2020-09-02 04:07:20 +00:00
<TextView android:id="@id/setting_subtext" android:layout_marginTop="4.0dip" style="@style/UiKit.TextView" />
2020-05-17 12:40:10 +00:00
</LinearLayout>
2020-09-02 04:07:20 +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:importantForAccessibility="no" android:layout_marginStart="16.0dip" android:layout_alignParentEnd="true" app:thumbTint="@color/switch_thumb_color" app:useMaterialThemeColors="true" />
2020-05-17 12:40:10 +00:00
</RelativeLayout>
</merge>