85 lines
2.3 KiB
XML
85 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
android:orientation="vertical"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
|
||
<TextView
|
||
android:textColor="@color/colorPrimary"
|
||
android:textSize="16sp"
|
||
android:layout_gravity="center_horizontal"
|
||
android:padding="10dp"
|
||
android:text="设置下载数"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
/>
|
||
|
||
<View
|
||
android:background="@color/black"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="1dp"/>
|
||
|
||
<RadioGroup
|
||
android:id="@+id/rg"
|
||
android:padding="16dp"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
>
|
||
|
||
<RadioButton
|
||
android:tag="2"
|
||
android:text="下载线程数:2"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layoutDirection="rtl"
|
||
android:textAlignment="textStart"
|
||
android:layout_gravity="start"
|
||
/>
|
||
|
||
<RadioButton
|
||
android:tag="3"
|
||
android:text="下载线程数:3"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layoutDirection="rtl"
|
||
android:textAlignment="textStart"
|
||
android:layout_gravity="start"
|
||
/>
|
||
|
||
<RadioButton
|
||
android:tag="4"
|
||
android:text="下载线程数:4"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layoutDirection="rtl"
|
||
android:textAlignment="textStart"
|
||
android:layout_gravity="start"
|
||
/>
|
||
|
||
</RadioGroup>
|
||
|
||
|
||
<View
|
||
android:background="@color/black"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="1dp"/>
|
||
|
||
|
||
<Button
|
||
android:id="@+id/cancel"
|
||
android:text="取消"
|
||
style="?buttonBarButtonStyle"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
/>
|
||
|
||
</LinearLayout>
|
||
|
||
</layout> |