discord-jadx/app/src/main/res/layout/view_ternary_checkbox.xml

21 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<RelativeLayout style="@style/res_2131952606_uikit_viewgroup_relativelayout">
<LinearLayout android:padding="16dp" android:layout_toStartOf="@+id/checkboxes_container" android:layout_alignParentStart="true" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:id="@+id/setting_label" android:layout_marginEnd="16dp" style="@style/res_2131952568_uikit_textview_large"/>
<TextView android:id="@+id/setting_subtext" android:layout_marginTop="5dp" style="@style/res_2131952561_uikit_textview"/>
</LinearLayout>
<LinearLayout android:id="@+id/checkboxes_container" android:layout_width="wrap_content" android:layout_centerVertical="true" android:layout_marginEnd="16dp" android:layout_alignParentEnd="true" style="@style/res_2131952594_uikit_viewgroup_linearlayout_horizontal">
<FrameLayout android:id="@+id/checkable_off_container" android:layout_width="44dp" android:layout_height="32dp">
<com.discord.views.CheckableImageView android:id="@+id/ternary_check_off" android:background="@drawable/drawable_bg_ternary_off" android:src="@drawable/drawable_ic_ternary_off" style="@style/res_2131952401_uikit_checkableimageview"/>
<View android:id="@+id/off_disabled_overlay" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="match_parent" android:layout_height="match_parent"/>
</FrameLayout>
<com.discord.views.CheckableImageView android:id="@+id/ternary_check_neutral" android:background="@drawable/drawable_bg_ternary_neutral" android:src="@drawable/drawable_ic_ternary_neutral" style="@style/res_2131952401_uikit_checkableimageview"/>
<com.discord.views.CheckableImageView android:id="@+id/ternary_check_on" android:background="@drawable/drawable_bg_ternary_on" android:src="@drawable/drawable_ic_ternary_on" style="@style/res_2131952401_uikit_checkableimageview"/>
</LinearLayout>
</RelativeLayout>
<View android:id="@+id/setting_disabled_overlay" android:background="?attr/ternaryCheckboxDisabledColor" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="match_parent" android:layout_height="match_parent"/>
</FrameLayout>
</LinearLayout>