From e91dd3b590040b2c961e0d778c265f326228257a Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期三, 09 十月 2024 10:41:23 +0800 Subject: [PATCH] 2024年10月09日10:41:07 --- app/src/main/res/layout/item_type_title.xml | 49 ++++++++++++++++++++----------------------------- 1 files changed, 20 insertions(+), 29 deletions(-) diff --git a/app/src/main/res/layout/item_type_title.xml b/app/src/main/res/layout/item_type_title.xml index c68cd5a..81f5338 100644 --- a/app/src/main/res/layout/item_type_title.xml +++ b/app/src/main/res/layout/item_type_title.xml @@ -3,41 +3,32 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="54dp" - android:layout_marginStart="@dimen/dp_32" - android:layout_marginEnd="@dimen/dp_32"> + android:layout_marginStart="@dimen/dp_16" + android:layout_marginEnd="@dimen/dp_16"> - <androidx.constraintlayout.widget.ConstraintLayout + <TextView + android:id="@+id/type_title_tv" android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_marginStart="@dimen/dp_16" - android:layout_marginEnd="@dimen/dp_16" + android:layout_height="@dimen/dp_20" + android:gravity="center" + android:textColor="@color/text_E6000000" + android:textSize="@dimen/text_14" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="parent"> + app:layout_constraintTop_toTopOf="parent" - <TextView - android:id="@+id/type_title_tv" - android:layout_width="match_parent" - android:layout_height="@dimen/dp_20" - android:gravity="center" - android:textColor="@color/text_E6000000" - android:textSize="@dimen/text_14" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" + /> - /> + <View + android:id="@+id/type_line_v" + android:layout_width="match_parent" + android:layout_height="0.5dp" + android:layout_marginBottom="0.5dp" + android:background="@color/text_EDEFF2" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintEnd_toStartOf="parent" /> - <View - android:id="@+id/type_line_v" - android:layout_width="match_parent" - android:layout_height="0.5dp" - android:layout_marginBottom="0.5dp" - android:background="@color/text_EDEFF2" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintEnd_toStartOf="parent" /> - </androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file -- Gitblit v1.8.0