From a824b62bde75373c9b6b8d3a60b3a279895c8675 Mon Sep 17 00:00:00 2001
From: Administrator <123>
Date: Sat, 06 Nov 2021 08:17:44 +0000
Subject: [PATCH] 广场 帖子 UI

---
 app/src/main/res/layout/hall_popu_classify.xml |   62 ++++++++++++++++++++++++++-----
 1 files changed, 52 insertions(+), 10 deletions(-)

diff --git a/app/src/main/res/layout/hall_popu_classify.xml b/app/src/main/res/layout/hall_popu_classify.xml
index 0722bf5..30e4f7c 100644
--- a/app/src/main/res/layout/hall_popu_classify.xml
+++ b/app/src/main/res/layout/hall_popu_classify.xml
@@ -1,14 +1,56 @@
 <?xml version="1.0" encoding="utf-8"?>
-<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout
+    xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     xmlns:app="http://schemas.android.com/apk/res-auto"
-    android:id="@+id/recycler"
     android:layout_width="match_parent"
-    android:layout_height="wrap_content"
-    android:background="@drawable/bg_border_gray_corner"
-    android:paddingBottom="@dimen/frame_margin_lr"
-    app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
-    app:spanCount="4"
-    tools:listitem="@layout/item_classify"
-    tools:itemCount="8">
-</androidx.recyclerview.widget.RecyclerView>
\ No newline at end of file
+    android:layout_height="wrap_content">
+    <androidx.constraintlayout.widget.ConstraintLayout
+        android:layout_marginBottom="@dimen/radios"
+        android:background="@color/white"
+        android:elevation="@dimen/small_radios"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content">
+        <androidx.recyclerview.widget.RecyclerView
+            android:id="@+id/recycler"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:paddingBottom="@dimen/frame_margin_lr"
+            android:overScrollMode="never"
+            app:layout_constraintTop_toTopOf="parent"
+            app:layout_constraintLeft_toLeftOf="parent"
+            app:layout_constraintRight_toRightOf="parent"
+            app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
+            app:spanCount="4"
+            tools:listitem="@layout/item_classify"
+            tools:itemCount="8">
+        </androidx.recyclerview.widget.RecyclerView>
+        <View
+            android:layout_width="match_parent"
+            android:layout_height="0.5dp"
+            android:background="@color/gray"
+            app:layout_constraintBottom_toBottomOf="@id/recycler" />
+        <TextView
+            android:id="@+id/text_cancel"
+            android:layout_width="0dp"
+            android:layout_height="50dp"
+            android:text="取消"
+            android:gravity="center"
+            android:background="@drawable/btn_white"
+            app:layout_constraintRight_toLeftOf="@id/text_confirm"
+            app:layout_constraintTop_toBottomOf="@id/recycler"
+            app:layout_constraintLeft_toLeftOf="parent" />
+        <TextView
+            android:id="@+id/text_confirm"
+            android:layout_width="0dp"
+            android:layout_height="50dp"
+            android:text="确定"
+            android:gravity="center"
+            android:textColor="@color/white"
+            android:background="@drawable/btn_blue"
+            app:layout_constraintTop_toBottomOf="@id/recycler"
+            app:layout_constraintLeft_toRightOf="@id/text_cancel"
+            app:layout_constraintRight_toRightOf="parent"/>
+
+    </androidx.constraintlayout.widget.ConstraintLayout>
+</RelativeLayout>
\ No newline at end of file

--
Gitblit v1.9.1