tachiyomi/app/src/main/res/layout/common_dialog_with_checkbox.xml

22 lines
797 B
XML
Raw Normal View History

2016-06-06 21:26:56 +08:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020-02-22 07:43:50 +08:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2016-06-06 21:26:56 +08:00
<TextView
android:id="@+id/description"
2016-06-06 21:26:56 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-02-22 07:43:50 +08:00
android:textAppearance="@style/TextAppearance.Regular.Body1" />
2016-06-06 21:26:56 +08:00
<CheckBox
android:id="@+id/checkbox_option"
2016-06-06 21:26:56 +08:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="-5dp"
2020-02-22 07:43:50 +08:00
android:layout_marginTop="@dimen/material_component_dialogs_padding_between_text_and_touch_target"
android:layout_marginEnd="0dp" />
2016-06-06 21:26:56 +08:00
</LinearLayout>