From ab9e0ae52d360fbe512bfbd3205206fcf4221be9 Mon Sep 17 00:00:00 2001 From: Guo_shaoshan <2055829622@qq.com> Date: 星期日, 09 四月 2023 10:41:46 +0800 Subject: [PATCH] 成长经历添加数据 --- app/src/main/res/layout/item_growth_experience_relationship.xml | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/item_growth_experience_relationship.xml b/app/src/main/res/layout/item_growth_experience_relationship.xml index a90a5c3..1cfdf1b 100644 --- a/app/src/main/res/layout/item_growth_experience_relationship.xml +++ b/app/src/main/res/layout/item_growth_experience_relationship.xml @@ -1,6 +1,7 @@ <?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 @@ -38,7 +39,9 @@ android:layout_marginStart="24dp" android:textSize="@dimen/sp_16" android:textColor="@color/black" + android:text="@{bean.relationship}" android:layout_weight="1" + tools:text="澶" android:textStyle="bold" /> <TextView @@ -46,13 +49,16 @@ android:layout_height="wrap_content" android:textSize="@dimen/sp_16" android:textColor="@color/black" + android:text="@{bean.associate}" android:textStyle="bold" android:layout_marginEnd="24dp" android:layout_alignParentEnd="true" android:layout_centerVertical="true" + tools:text="寮犱笁" /> </RelativeLayout> <LinearLayout + android:id="@+id/layout_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" @@ -75,7 +81,7 @@ <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="寮犳皬鍏徃" + android:text="@{bean.School}" android:textColor="@color/black" android:textSize="@dimen/sp_12" android:textStyle="bold" @@ -98,7 +104,7 @@ <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="缁忕悊" + android:text="@{bean.identity}" android:textColor="@color/black" android:textSize="@dimen/sp_12" android:textStyle="bold" @@ -122,6 +128,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/black" + android:text="@{bean.politicalStatus}" android:textSize="@dimen/sp_12" android:textStyle="bold" /> -- Gitblit v1.9.1