From 17eb1d06e104bc1cd93498fe3a3eaecf14c9d734 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 12 十一月 2020 13:57:35 +0800
Subject: [PATCH] 1. 修复现场整改时,问题状态是‘问题审核通过’而不是“整改未审核”的问题; 2. 修改任意拍照界面的多图片展示方式为Glide,减少内存溢出的可能性; 3. 新增图片类型枚举类,罗列原有的图片类型,并新增“铭牌”和“监测设备”; 4. 修复导航功能可能导致空指针的问题; 5. 任意拍界面新增按分类拍摄功能; 6. 修复现场整改界面打开崩溃问题;
---
app/src/main/res/layout/dialog_camera.xml | 81 ++++++++++++++++++++++++++++++----------
1 files changed, 61 insertions(+), 20 deletions(-)
diff --git a/app/src/main/res/layout/dialog_camera.xml b/app/src/main/res/layout/dialog_camera.xml
index 175d38d..750b503 100644
--- a/app/src/main/res/layout/dialog_camera.xml
+++ b/app/src/main/res/layout/dialog_camera.xml
@@ -10,10 +10,11 @@
android:layout_height="match_parent"
android:layout_marginTop="30dp"
android:layout_marginLeft="12dp"
- android:layout_marginRight="14dp"
+ android:layout_marginRight="12dp"
android:layout_marginBottom="40dp"
app:cardCornerRadius="6dp"
app:cardElevation="7dp">
+
<LinearLayout
android:id="@+id/ll_dialog_problem_list_main"
android:layout_width="match_parent"
@@ -24,29 +25,69 @@
android:paddingRight="16dp"
android:orientation="vertical">
- <TextView
- android:id="@+id/tv_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="18dp"
- android:textColor="@color/primary_text"
- android:text="鐓х墖鍒楄〃"/>
-
<TextView
- android:id="@+id/tv_count"
- android:layout_marginTop="6dp"
+ android:id="@+id/tv_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="18dp"
+ android:textColor="@color/primary_text"
+ android:text="鐓х墖鍒楄〃"/>
+ <android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <android.support.v7.widget.RecyclerView
- android:layout_marginTop="6dp"
- android:paddingBottom="8dp"
- android:id="@+id/rv_photo_list"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp">
- </android.support.v7.widget.RecyclerView>
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="20dp">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+ <TextView
+ android:id="@+id/txt_title_1"
+ android:layout_marginTop="6dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="甯歌"/>
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/rv_photo_list_1"
+ android:layout_marginTop="@dimen/dimen2"
+ android:paddingBottom="8dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+ </android.support.v7.widget.RecyclerView>
+
+ <TextView
+ android:id="@+id/txt_title_2"
+ android:layout_marginTop="6dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="閾墝"/>
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/rv_photo_list_2"
+ android:layout_marginTop="@dimen/dimen2"
+ android:paddingBottom="8dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+ </android.support.v7.widget.RecyclerView>
+
+ <TextView
+ android:id="@+id/txt_title_3"
+ android:layout_marginTop="6dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="璁惧"/>
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/rv_photo_list_3"
+ android:layout_marginTop="@dimen/dimen2"
+ android:paddingBottom="8dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+ </android.support.v7.widget.RecyclerView>
+ </LinearLayout>
+ </android.support.v4.widget.NestedScrollView>
+
<ImageView
android:id="@+id/iv_new_photo"
+ android:visibility="gone"
android:layout_gravity="center_horizontal"
android:layout_width="60dp"
android:layout_height="60dp"
--
Gitblit v1.9.3