<?xml version="1.0" encoding="utf-8"?>
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
<android.support.v7.widget.CardView
|
android:id="@+id/cv_dialog_main"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="30dp"
|
android:layout_marginLeft="12dp"
|
android:layout_marginRight="12dp"
|
android:layout_marginBottom="40dp"
|
app:cardCornerRadius="6dp"
|
app:cardElevation="7dp">
|
<android.support.constraint.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:padding="@dimen/dimen16"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="@dimen/textSize_18"
|
android:textColor="@color/primary_text"
|
android:text="@string/scene_sub_info"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
<ProgressBar
|
android:id="@+id/view_waiting"
|
android:layout_width="@dimen/fab_margin"
|
android:layout_height="@dimen/fab_margin"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
/>
|
|
<TextView
|
android:id="@+id/tv_status"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="施工阶段"
|
android:textColor="@color/main_color_2"
|
android:textSize="@dimen/textSize_16"
|
android:paddingTop="@dimen/dimen4"
|
android:paddingBottom="@dimen/dimen4"
|
android:layout_marginTop="@dimen/dimen16"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/tv_title"/>
|
|
<!-- <CheckBox-->
|
<!-- android:id="@+id/cb_status"-->
|
<!-- android:layout_width="wrap_content"-->
|
<!-- android:layout_height="wrap_content"-->
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
<!-- app:layout_constraintTop_toBottomOf="@id/tv_status"-->
|
<!-- android:text="@string/task_status"/>-->
|
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/rv_status"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:padding="@dimen/dimen8"
|
tools:listitem="@android:layout/simple_list_item_single_choice"
|
app:layout_constrainedHeight="true"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/tv_status">
|
</android.support.v7.widget.RecyclerView>
|
|
|
</android.support.constraint.ConstraintLayout>
|
</android.support.v7.widget.CardView>
|
|
<android.support.design.widget.FloatingActionButton
|
android:src="@drawable/icon_close_white"
|
android:id="@+id/fab_close"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:fabSize="normal"
|
app:elevation="8dp"
|
app:layout_anchor="@id/cv_dialog_main"
|
app:layout_anchorGravity="bottom|center"
|
android:contentDescription="@string/cancel" />
|
|
</android.support.design.widget.CoordinatorLayout>
|