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

110 lines
3.9 KiB
XML
Raw Normal View History

2020-10-09 20:24:02 +02:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2017-04-26 21:24:33 +02:00
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"
2020-10-09 20:24:02 +02:00
layout="@layout/toolbar_layout" />
<org.schabi.newpipe.views.NewPipeTextView
2017-04-26 21:24:33 +02:00
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_marginLeft="24dp"
android:layout_marginTop="12dp"
2020-10-09 20:24:02 +02:00
android:layout_marginRight="24dp"
android:layout_marginBottom="6dp"
android:text="@string/msg_name" />
<org.schabi.newpipe.views.NewPipeEditText
2017-04-26 21:24:33 +02:00
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_marginLeft="20dp"
android:layout_marginRight="20dp"
2020-10-09 20:24:02 +02:00
android:layout_marginBottom="6dp"
2017-04-26 21:24:33 +02:00
android:inputType="text"
2020-10-09 20:24:02 +02:00
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"
2018-04-08 13:08:19 +02:00
android:layout_marginLeft="20dp"
2020-10-09 20:24:02 +02:00
android:layout_marginBottom="6dp"
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"
2020-10-09 20:24:02 +02:00
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"
2020-10-09 20:24:02 +02:00
android:text="@string/audio" />
<RadioButton
android:id="@+id/subtitle_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-10-09 20:24:02 +02:00
android:text="@string/caption_setting_title" />
2017-04-26 21:24:33 +02:00
</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_marginLeft="20dp"
android:layout_marginRight="20dp"
2020-10-09 20:24:02 +02:00
android:layout_marginBottom="12dp"
2018-04-08 13:08:19 +02:00
android:minWidth="150dp"
2020-10-09 20:24:02 +02:00
tools:listitem="@layout/stream_quality_item" />
2017-05-15 05:57:04 +02:00
<org.schabi.newpipe.views.NewPipeTextView
2017-04-26 21:24:33 +02:00
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_marginLeft="24dp"
android:layout_marginRight="24dp"
2020-10-09 20:24:02 +02:00
android:layout_marginBottom="6dp"
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">
<org.schabi.newpipe.views.NewPipeTextView
2017-04-26 21:24:33 +02:00
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"
2020-10-09 20:24:02 +02:00
tools:text="3" />
2017-04-26 21:24:33 +02:00
<SeekBar
android:id="@+id/threads"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:max="31"
2020-10-09 20:24:02 +02:00
android:progress="3" />
2017-04-26 21:24:33 +02:00
</LinearLayout>
</RelativeLayout>