<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
android:id="@+id/ll_dialog_problem_list_main"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:paddingTop="12dp"
|
android:paddingBottom="16dp"
|
android:paddingLeft="12dp"
|
android:paddingRight="12dp"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:id="@+id/iv_top_task"
|
android:layout_width="0dp"
|
android:layout_height="20dp"
|
android:layout_weight="1"
|
android:layout_gravity="center"
|
android:src="@drawable/icon_inspection_run"/>
|
<cn.flightfeather.thirdappmodule.view.ScrollTextView
|
android:id="@+id/tv_top_task"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="7"
|
android:layout_gravity="center"
|
android:singleLine="true"
|
android:hint="顶层任务"
|
android:textColor="@color/black"
|
android:textSize="@dimen/textSize_16"
|
android:ellipsize="marquee"
|
android:focusable="true"
|
android:focusableInTouchMode="true"
|
android:layout_marginBottom="@dimen/dimen2"/>
|
</LinearLayout>
|
|
<com.github.mikephil.charting.charts.BarChart
|
android:id="@+id/barChart_progress"
|
android:layout_width="match_parent"
|
android:layout_height="200dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:layout_marginTop="@dimen/dimen8">
|
<TextView
|
android:id="@+id/tv_total_progress"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1.5"
|
android:textColor="@drawable/selector_text_black_white"
|
android:clickable="true"
|
android:background="@drawable/selector_tab_progress"
|
android:gravity="center"
|
android:padding="@dimen/dimen4"
|
android:text="总进度"/>
|
<TextView
|
android:id="@+id/tv_my_progress"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1.5"
|
android:textColor="@drawable/selector_text_black_white"
|
android:clickable="true"
|
android:background="@drawable/selector_tab_progress"
|
android:gravity="center"
|
android:padding="@dimen/dimen4"
|
android:text="我的进度"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
android:layout_marginTop="@dimen/dimen4">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1.5"
|
android:textColor="@color/black"
|
android:background="@drawable/shape_task_analysis"
|
android:gravity="center"
|
android:text="日期"/>
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="2"
|
android:textColor="@color/black"
|
android:gravity="center"
|
android:background="@drawable/shape_task_analysis"
|
android:text="完成数"/>
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="2"
|
android:textColor="@color/black"
|
android:gravity="center"
|
android:background="@drawable/shape_task_analysis"
|
android:text="百分比"/>
|
</LinearLayout>
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/rv_dialog_task_progress"
|
android:layout_marginTop="6dp"
|
android:paddingBottom="8dp"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
</android.support.v7.widget.RecyclerView>
|
</LinearLayout>
|
|
</LinearLayout>
|