1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-10-01 00:10:49 +00:00
NewPipe/app/src/main/res/layout/dialog_url.xml

105 lines
3.6 KiB
XML
Raw Normal View History

2017-04-26 19:24:33 +00: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 19:24:33 +00:00
<include
android:id="@+id/toolbar_layout"
layout="@layout/toolbar_layout"/>
2017-04-26 19:24:33 +00: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 19:24:33 +00: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 19:24:33 +00:00
<RadioGroup
android:id="@+id/video_audio_group"
2017-05-15 03:57:04 +00:00
android:layout_width="wrap_content"
2017-04-26 19:24:33 +00:00
android:layout_height="wrap_content"
android:layout_below="@+id/file_name"
android:layout_marginLeft="20dp"
2017-05-15 03:57:04 +00:00
android:layout_marginBottom="6dp"
2017-04-26 19:24:33 +00:00
android:gravity="left"
android:orientation="horizontal"
tools:ignore="RtlHardcoded">
2017-04-26 19:24:33 +00: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 19:24:33 +00: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 03:57:04 +00:00
<Spinner
android:id="@+id/quality_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minWidth="150dp"
android:layout_below="@+id/video_audio_group"
android:layout_marginBottom="12dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
tools:listitem="@layout/resolutions_spinner_item"/>
2017-04-26 19:24:33 +00:00
<TextView
android:id="@+id/threads_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-05-15 03:57:04 +00:00
android:layout_below="@+id/quality_spinner"
2017-04-26 19:24:33 +00:00
android:layout_marginBottom="6dp"
android:layout_marginLeft="24dp"
android:layout_marginRight="24dp"
android:text="@string/msg_threads"/>
2017-04-26 19:24:33 +00: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"
android:paddingBottom="12dp"
android:orientation="horizontal">
2017-04-26 19:24:33 +00: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>