mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-16 07:10:29 +05:30
73 lines
2.4 KiB
XML
73 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="20dp">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="10dp"
|
|
android:gravity="center"
|
|
android:text="@string/app_name"
|
|
android:textSize="20sp" />
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="10dp"
|
|
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"
|
|
android:layout_marginStart="20dp"
|
|
android:text="@string/audio" />
|
|
|
|
</RadioGroup>
|
|
|
|
<Spinner
|
|
android:id="@+id/video_spinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginVertical="10dp" />
|
|
|
|
<Spinner
|
|
android:id="@+id/audio_spinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginVertical="10dp" />
|
|
|
|
<Button
|
|
android:id="@+id/download"
|
|
style="@style/CustomDialogButton"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_marginBottom="15dp"
|
|
android:text="@string/download" />
|
|
|
|
</LinearLayout>
|