You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Android-Download/app/src/main/res/layout/dialog_sub_task_handler.xml

76 lines
2.1 KiB

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:padding="16dp"
>
<TextView
android:id="@+id/task_group"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="任务组:"
/>
<TextView
android:id="@+id/sub_task"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/task_group"
android:layout_marginTop="5dp"
android:text="子任务:"
/>
<com.arialyy.simple.widget.HorizontalProgressBarWithNumber
android:id="@+id/pb"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/sub_task"
android:layout_marginTop="10dp"
android:max="100"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/pb"
android:orientation="horizontal"
>
<Button
android:id="@+id/start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="开始"
style="?buttonBarButtonStyle"
/>
<Button
android:id="@+id/stop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="停止"
style="?buttonBarButtonStyle"
/>
<!--<Button-->
<!--android:id="@+id/cancel"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_weight="1"-->
<!--android:text="删除"-->
<!--style="?buttonBarButtonStyle"-->
<!--/>-->
</LinearLayout>
</RelativeLayout>
</layout>