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

51 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingHorizontal="20dp">
<com.github.libretube.ui.views.AppNameTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:gravity="center" />
<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>
<com.github.libretube.ui.views.DropdownMenu
android:id="@+id/video_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:hint="@string/video"
app:icon="@drawable/ic_video" />
<com.github.libretube.ui.views.DropdownMenu
android:id="@+id/audio_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:hint="@string/audio"
app:icon="@drawable/ic_audio" />
<com.github.libretube.ui.views.DropdownMenu
android:id="@+id/subtitle_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:hint="@string/captions"
app:icon="@drawable/ic_caption" />
</LinearLayout>