From 9178a17fda334ae4fb1df7ddefcdae9bbc40400b Mon Sep 17 00:00:00 2001
From: Administrator <123>
Date: Sat, 06 Nov 2021 00:42:38 +0000
Subject: [PATCH] 广场 控制层 大厅 分类弹框
---
app/src/main/res/layout/hall_popu_classify.xml | 66 ++++++++++++++++++++++++++++-----
1 files changed, 56 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..f3f2c91 100644
--- a/app/src/main/res/layout/hall_popu_classify.xml
+++ b/app/src/main/res/layout/hall_popu_classify.xml
@@ -1,14 +1,60 @@
<?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/small_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_constraintTop_toBottomOf="@id/recycler" />
+ <TextView
+ android:id="@+id/text_cancel"
+ android:layout_width="0dp"
+ android:layout_height="40dp"
+ android:text="取消"
+ android:gravity="center"
+ 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"
+ app:layout_constraintTop_toBottomOf="@id/recycler"
+ app:layout_constraintLeft_toRightOf="@id/text_cancel"
+ app:layout_constraintRight_toRightOf="parent"/>
+ <View
+ android:layout_width="0.5dp"
+ android:layout_height="0dp"
+ android:background="@color/gray"
+ app:layout_constraintTop_toTopOf="@id/text_cancel"
+ app:layout_constraintBottom_toBottomOf="@id/text_cancel"
+ app:layout_constraintLeft_toRightOf="@id/text_cancel"/>
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+</RelativeLayout>
\ No newline at end of file
--
Gitblit v1.9.1