From 05d90004c120c5b597565bc99c7d3b85f15a4e73 Mon Sep 17 00:00:00 2001 From: Administrator <123> Date: Fri, 05 Nov 2021 06:47:38 +0000 Subject: [PATCH] 短信验证码 倒计时 大厅顶部 UI --- app/src/main/res/layout/fragment_sub_hall.xml | 65 +++++++++++++++++++++++++++++--- 1 files changed, 59 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/fragment_sub_hall.xml b/app/src/main/res/layout/fragment_sub_hall.xml index 2b892d9..35b39a1 100644 --- a/app/src/main/res/layout/fragment_sub_hall.xml +++ b/app/src/main/res/layout/fragment_sub_hall.xml @@ -63,18 +63,71 @@ app:layout_constraintHorizontal_weight="1" app:layout_constraintHorizontal_chainStyle="spread" /> - <View - android:id="@+id/view" + + <androidx.constraintlayout.widget.ConstraintLayout + android:id="@+id/layout" android:layout_width="match_parent" - android:layout_height="0.5dp" - android:background="@color/gray" + android:layout_height="wrap_content" + android:background="@drawable/bg_white_corner" + android:elevation="@dimen/small_radios" + android:layout_margin="@dimen/activity_horizontal_margin" + android:padding="@dimen/frame_margin_lr" app:layout_constraintTop_toBottomOf="@id/radio_group" app:layout_constraintLeft_toLeftOf="parent" - app:layout_constraintRight_toRightOf="parent"/> + app:layout_constraintRight_toRightOf="parent" + app:layout_constraintBottom_toTopOf="@id/include_refresh_recycler"> + + + <include layout="@layout/hall_item_top" + android:id="@+id/layout_left" + android:layout_width="0dp" + android:layout_height="wrap_content" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toLeftOf="@id/layout_between"/> + <include layout="@layout/hall_item_top" + android:id="@+id/layout_between" + android:layout_width="0dp" + android:layout_height="wrap_content" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toRightOf="@id/layout_left" + app:layout_constraintRight_toLeftOf="@id/layout_right" + /> + <include layout="@layout/hall_item_top" + android:id="@+id/layout_right" + android:layout_width="0dp" + android:layout_height="wrap_content" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toRightOf="@id/layout_between" + app:layout_constraintRight_toRightOf="parent"/> + + <View + android:layout_width="0.5dp" + android:layout_height="0dp" + android:background="@color/gray" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toRightOf="@id/layout_left" /> + + <View + android:layout_width="0.5dp" + android:layout_height="0dp" + android:background="@color/gray" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toRightOf="@id/layout_between" /> + + + </androidx.constraintlayout.widget.ConstraintLayout> + + <include layout="@layout/refresh_recycler" android:id="@+id/include_refresh_recycler" android:layout_width="match_parent" android:layout_height="0dp" - app:layout_constraintTop_toBottomOf="@id/view" + app:layout_constraintTop_toBottomOf="@id/layout" app:layout_constraintBottom_toBottomOf="parent"/> </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file -- Gitblit v1.9.1