| | |
| | | <android.support.design.widget.CoordinatorLayout 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:layout_height="match_parent" |
| | | xmlns:tools="http://schemas.android.com/tools"> |
| | | |
| | | <android.support.design.widget.FloatingActionButton |
| | | android:src="@drawable/icon_close_white" |
| | |
| | | android:id="@+id/tv_dialog_take_evidence_title" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="新增问题" |
| | | android:text="问题取证" |
| | | android:textColor="@color/primary_text" |
| | | android:textSize="18dp" /> |
| | | android:textSize="18sp" /> |
| | | </LinearLayout> |
| | | |
| | | <TextView |
| | |
| | | android:id="@+id/sp_take_evidence_select_problem_type" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="-7dp" |
| | | android:layout_marginRight="-7dp"></Spinner> |
| | | android:layout_marginTop="@dimen/dimen4" |
| | | style="@style/SpinnerStyle.Black" |
| | | tools:listitem="@layout/item_spinner_drop_down" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_chose" |
| | |
| | | android:id="@+id/sp_take_evidence_select_problem" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="-7dp" |
| | | android:layout_marginRight="-7dp"></Spinner> |
| | | android:layout_marginTop="@dimen/dimen4" |
| | | style="@style/SpinnerStyle.Black" |
| | | tools:listitem="@layout/item_spinner_drop_down"/> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_take_evidence_problem_des" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="8dp" |
| | | android:hint="问题描述(可选)" |
| | | android:textSize="@dimen/textSize_14" |
| | | android:visibility="visible" /> |
| | | |
| | | <TextView |
| | |
| | | android:id="@+id/sp_take_evidence_select_location" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="-7dp" |
| | | android:layout_marginRight="-7dp"></Spinner> |
| | | android:layout_marginTop="@dimen/dimen4" |
| | | style="@style/SpinnerStyle.Black" |
| | | tools:listitem="@layout/item_spinner_drop_down"/> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_take_evidence_location" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:hint="位置备注(可选)" /> |
| | | android:hint="位置备注(可选)" |
| | | android:textSize="@dimen/textSize_14"/> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/ll_change_suggestion" |
| | |
| | | android:id="@+id/sp_take_evidence_select_suggestion" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="-7dp" |
| | | android:layout_marginRight="-7dp"> |
| | | </Spinner> |
| | | android:layout_marginTop="@dimen/dimen4" |
| | | style="@style/SpinnerStyle.Black" |
| | | tools:listitem="@layout/item_spinner_drop_down"/> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_take_evidence_suggestion" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:hint="整改建议(可选)" /> |
| | | android:hint="整改建议(可选)" |
| | | android:textSize="@dimen/textSize_14"/> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="10dp" |
| | | android:layout_marginTop="10dp" |
| | | android:orientation="horizontal"> |
| | | <android.support.constraint.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="10dp" |
| | | android:layout_marginTop="10dp" |
| | | android:orientation="horizontal"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv_take_evidence_add_photo1" |
| | | android:layout_width="60dp" |
| | | android:layout_height="60dp" |
| | | android:layout_marginTop="6dp" |
| | | android:scaleType="centerCrop" |
| | | android:src="@drawable/icon_add_photo" /> |
| | | <ImageView |
| | | android:id="@+id/iv_take_evidence_add_photo1" |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/icon_add_photo" |
| | | android:layout_marginEnd="@dimen/dimen8" |
| | | app:layout_constraintDimensionRatio="W, 1:1" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toStartOf="@id/iv_take_evidence_add_photo2" |
| | | app:layout_constraintTop_toTopOf="parent"/> |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv_take_evidence_add_photo2" |
| | | android:layout_width="60dp" |
| | | android:layout_height="60dp" |
| | | android:layout_marginLeft="10dp" |
| | | android:layout_marginTop="6dp" |
| | | android:scaleType="centerCrop" |
| | | android:src="@drawable/icon_add_photo_blank" /> |
| | | <ImageView |
| | | android:id="@+id/iv_take_evidence_add_photo2" |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/icon_add_photo_blank" |
| | | android:layout_marginEnd="@dimen/dimen8" |
| | | app:layout_constraintDimensionRatio="W, 1:1" |
| | | app:layout_constrainedWidth="true" |
| | | app:layout_constraintStart_toEndOf="@id/iv_take_evidence_add_photo1" |
| | | app:layout_constraintEnd_toStartOf="@id/iv_take_evidence_add_photo3" |
| | | app:layout_constraintTop_toTopOf="parent"/> |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv_take_evidence_add_photo3" |
| | | android:layout_width="60dp" |
| | | android:layout_height="60dp" |
| | | android:layout_marginLeft="10dp" |
| | | android:layout_marginTop="6dp" |
| | | android:scaleType="centerCrop" |
| | | android:src="@drawable/icon_add_photo_blank" /> |
| | | </LinearLayout> |
| | | <ImageView |
| | | android:id="@+id/iv_take_evidence_add_photo3" |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/icon_add_photo_blank" |
| | | app:layout_constraintDimensionRatio="W, 1:1" |
| | | app:layout_constrainedWidth="true" |
| | | app:layout_constraintStart_toEndOf="@id/iv_take_evidence_add_photo2" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent"/> |
| | | </android.support.constraint.ConstraintLayout> |
| | | |
| | | </LinearLayout> |
| | | </ScrollView> |
| | | </android.support.v7.widget.CardView> |