From 15cd434674051e5d29215b47862686c773625fd4 Mon Sep 17 00:00:00 2001 From: Linjiajia <319408893@qq.com> Date: 星期五, 28 四月 2023 23:20:02 +0800 Subject: [PATCH] 代码提交 --- app/src/main/res/layout/item_growth_experience_holder_condition.xml | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/item_growth_experience_holder_condition.xml b/app/src/main/res/layout/item_growth_experience_holder_condition.xml index 8af7f84..1e58bbd 100644 --- a/app/src/main/res/layout/item_growth_experience_holder_condition.xml +++ b/app/src/main/res/layout/item_growth_experience_holder_condition.xml @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools"> <data> <variable name="bean" - type="com.application.zhangshi_app_android.bean.GrowthExperienceBean" /> + type="com.application.zhangshi_app_android.bean.GrowthExperienceHolderConditionBean" /> </data> <LinearLayout @@ -15,10 +16,11 @@ <androidx.cardview.widget.CardView android:id="@+id/cardView" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="40dp" android:layout_margin="@dimen/dp_2" app:cardCornerRadius="@dimen/dp_10" app:cardBackgroundColor="@color/color_card_pink" + tools:layout_height="wrap_content" > <LinearLayout android:layout_width="match_parent" @@ -38,7 +40,9 @@ android:layout_marginStart="24dp" android:textSize="@dimen/sp_16" android:textColor="@color/black" + android:text="@{bean.cerName}" android:layout_weight="1" + tools:text="鎶ょ収" android:textStyle="bold" /> <TextView @@ -46,13 +50,16 @@ android:layout_height="wrap_content" android:textSize="@dimen/sp_16" android:textColor="@color/black" + android:text="@{bean.validityDate}" android:textStyle="bold" android:layout_marginEnd="24dp" android:layout_alignParentEnd="true" android:layout_centerVertical="true" + tools:text="2010.01-2020.01" /> </RelativeLayout> <LinearLayout + android:id="@+id/layout_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" @@ -75,17 +82,17 @@ <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="鎸佹湁" android:textColor="@color/black" android:textSize="@dimen/sp_12" android:textStyle="bold" + android:text="@{bean.ownStatus}" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:layout_marginBottom="@dimen/dp_6" + android:layout_marginBottom="10dp" > <TextView android:layout_width="wrap_content" @@ -99,8 +106,10 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/black" + android:text="@{bean.idNo}" android:textSize="@dimen/sp_12" android:textStyle="bold" + tools:text="123456789012345" /> </LinearLayout> -- Gitblit v1.9.1