NewPipe/app/src/main/res/layout/download_dialog.xml

105 lines
3.5 KiB
XML
Raw Normal View History

2017-04-26 21:24:33 +02:00
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
2017-04-26 21:24:33 +02:00
<include
android:id="@+id/toolbar_layout"
layout="@layout/toolbar_layout"/>
2017-04-26 21:24:33 +02:00
<TextView
android:id="@+id/file_name_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/toolbar_layout"
android:layout_marginBottom="6dp"
android:layout_marginLeft="24dp"
android:layout_marginRight="24dp"
android:layout_marginTop="12dp"
android:text="@string/msg_name"/>
2017-04-26 21:24:33 +02:00
<EditText
android:id="@+id/file_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/file_name_text_view"
android:layout_marginBottom="6dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:inputType="text"
android:maxLines="1"/>
2017-04-26 21:24:33 +02:00
<RadioGroup
android:id="@+id/video_audio_group"
2017-05-15 05:57:04 +02:00
android:layout_width="wrap_content"
2017-04-26 21:24:33 +02:00
android:layout_height="wrap_content"
android:layout_below="@+id/file_name"
2017-05-15 05:57:04 +02:00
android:layout_marginBottom="6dp"
2018-04-08 13:08:19 +02:00
android:layout_marginLeft="20dp"
2017-04-26 21:24:33 +02:00
android:gravity="left"
android:orientation="horizontal"
tools:ignore="RtlHardcoded">
2017-04-26 21:24:33 +02:00
<RadioButton
android:id="@+id/video_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/video"/>
2017-04-26 21:24:33 +02:00
<RadioButton
android:id="@+id/audio_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/audio"/>
</RadioGroup>
2017-05-15 05:57:04 +02:00
<Spinner
android:id="@+id/quality_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/video_audio_group"
android:layout_marginBottom="12dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
2018-04-08 13:08:19 +02:00
android:minWidth="150dp"
tools:listitem="@layout/stream_quality_item"/>
2017-05-15 05:57:04 +02:00
2017-04-26 21:24:33 +02:00
<TextView
android:id="@+id/threads_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-05-15 05:57:04 +02:00
android:layout_below="@+id/quality_spinner"
2017-04-26 21:24:33 +02:00
android:layout_marginBottom="6dp"
android:layout_marginLeft="24dp"
android:layout_marginRight="24dp"
android:text="@string/msg_threads"/>
2017-04-26 21:24:33 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/threads_text_view"
android:layout_marginLeft="24dp"
android:layout_marginRight="24dp"
2018-04-08 13:08:19 +02:00
android:orientation="horizontal"
android:paddingBottom="12dp">
2017-04-26 21:24:33 +02:00
<TextView
android:id="@+id/threads_count"
android:layout_width="25dp"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:paddingLeft="2dp"
tools:ignore="RtlHardcoded,RtlSymmetry"
tools:text="3"/>
<SeekBar
android:id="@+id/threads"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:max="31"
android:progress="3"/>
</LinearLayout>
</RelativeLayout>