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

70 lines
2.3 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"
2022-09-23 17:59:16 +05:30
android:orientation="vertical"
android:paddingHorizontal="20dp">
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
2022-10-06 17:56:30 +05:30
<com.google.android.material.textfield.TextInputLayout
style="@style/CustomDialogTextInputLayout"
android:hint="@string/filename">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/fileName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text" />
</com.google.android.material.textfield.TextInputLayout>
<RadioGroup
android:layout_width="wrap_content"
android:layout_height="wrap_content"
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"
2022-09-23 17:59:16 +05:30
android:layout_marginStart="20dp"
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-09-23 17:59:16 +05:30
android:layout_marginVertical="10dp" />
2022-06-03 22:19:48 +05:30
2022-03-04 21:27:10 +05:30
<Spinner
android:id="@+id/audio_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-09-23 17:59:16 +05:30
android:layout_marginVertical="10dp" />
2022-06-03 22:19:48 +05:30
<Button
android:id="@+id/download"
2022-06-26 13:31:43 +05:30
style="@style/CustomDialogButton"
2022-09-23 17:59:16 +05:30
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="15dp"
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>