|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout 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:orientation="vertical">
|
|
@@ -17,66 +18,115 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_task_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_13"
|
|
|
- android:layout_marginTop="@dimen/dp_13"
|
|
|
- android:text="请输入投诉的理由"
|
|
|
- android:textColor="@color/black_444"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
- android:textStyle="bold" />
|
|
|
+ android:layout_marginStart="13dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:layout_marginEnd="13dp"
|
|
|
+ android:background="@drawable/bg_white_10dp">
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_reason_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_13"
|
|
|
+ android:src="@drawable/tc_icon_tousu_title"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_task_title"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_task_title" />
|
|
|
|
|
|
- <EditText
|
|
|
- android:id="@+id/et_content"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_175"
|
|
|
- android:layout_marginStart="@dimen/dp_13"
|
|
|
- android:layout_marginTop="@dimen/dp_12"
|
|
|
- android:layout_marginEnd="@dimen/dp_13"
|
|
|
- android:theme="@style/MyEditText"
|
|
|
- android:textCursorDrawable="@drawable/shape_2dc7aa_1dp"
|
|
|
- android:background="@drawable/bg_gray_line_shape_5dp"
|
|
|
- android:gravity="left|top"
|
|
|
- android:hint="请输入投诉理由,200字以内"
|
|
|
- android:maxLength="200"
|
|
|
- android:paddingStart="@dimen/dp_9"
|
|
|
- android:paddingTop="@dimen/dp_10"
|
|
|
- android:paddingEnd="@dimen/dp_9"
|
|
|
- android:paddingBottom="@dimen/dp_10"
|
|
|
- android:textColor="@color/gray_777"
|
|
|
- android:textSize="@dimen/dp_14" />
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_marginStart="@dimen/dp_13"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_13"
|
|
|
- android:text="请上传聊天截图 "
|
|
|
- android:textColor="@color/black_444"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:paddingBottom="12dp"
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_task_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_6"
|
|
|
+ android:layout_marginTop="@dimen/dp_16"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:text="请输入投诉的理由"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_reason_title"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_175"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:gravity="left|top"
|
|
|
+ android:hint="请输入投诉理由,200字以内"
|
|
|
+ android:maxLength="200"
|
|
|
+ android:paddingStart="@dimen/dp_13"
|
|
|
+ android:paddingTop="@dimen/dp_10"
|
|
|
+ android:paddingEnd="@dimen/dp_13"
|
|
|
+ android:paddingBottom="@dimen/dp_10"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textColorHint="@color/color_aaaaaa"
|
|
|
+ android:textCursorDrawable="@drawable/shape_2dc7aa_1dp"
|
|
|
+ android:textSize="@dimen/dp_14"
|
|
|
+ android:theme="@style/MyEditText"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_task_title" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="13dp"
|
|
|
android:layout_marginTop="12dp"
|
|
|
android:layout_marginEnd="13dp"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:background="@drawable/shape_10dp_white">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_screen_shot_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_13"
|
|
|
+ android:src="@drawable/tc_icon_img_title"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_img_title"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_img_title" />
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/recyclerView"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_img_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="6dp"
|
|
|
+ android:layout_marginTop="@dimen/dp_16"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:text="请上传聊天截图 "
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_screen_shot_title"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:overScrollMode="never"
|
|
|
- android:scrollbars="none" />
|
|
|
+ android:layout_marginStart="13dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="13dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingBottom="12dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_img_title">
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/recyclerView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbars="none" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/btn_commit"
|