LibreTube/app/src/main/res/layout/dialog_download.xml

58 lines
1.8 KiB
XML
Raw Normal View History

2022-03-04 21:27:10 +05:30
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
2022-06-27 22:47:52 +05:30
android:layout_height="wrap_content"
android:orientation="vertical">
2022-03-04 21:27:10 +05:30
2022-05-20 15:50:36 +05:30
<TextView
android:id="@+id/title"
2022-03-04 21:27:10 +05:30
android:layout_width="match_parent"
2022-05-20 15:50:36 +05:30
android:layout_height="wrap_content"
android:layout_margin="10dp"
2022-06-27 22:47:52 +05:30
android:gravity="center"
android:text="@string/app_name"
2022-06-03 22:19:48 +05:30
android:textSize="20sp" />
2022-03-04 21:27:10 +05:30
<RadioGroup
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp"
android:checkedButton="@id/video_radio"
android:orientation="horizontal">
<RadioButton
android:id="@+id/video_radio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/video" />
<RadioButton
android:id="@+id/audio_radio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:text="@string/audio" />
</RadioGroup>
2022-03-04 21:27:10 +05:30
<Spinner
android:id="@+id/video_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-06-03 22:19:48 +05:30
android:layout_margin="8dp" />
2022-03-04 21:27:10 +05:30
<Spinner
android:id="@+id/audio_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:visibility="gone" />
2022-06-03 22:19:48 +05:30
<Button
android:id="@+id/download"
2022-06-26 13:31:43 +05:30
style="@style/CustomDialogButton"
android:layout_marginEnd="16dp"
2022-06-27 22:47:52 +05:30
android:text="@string/download" />
2022-06-07 16:12:59 +05:30
2022-03-04 21:27:10 +05:30
</LinearLayout>