From f21e1ae4b858b6a329b717eaf420d4a1e79d9509 Mon Sep 17 00:00:00 2001 From: Guo_shaoshan <2055829622@qq.com> Date: 星期一, 24 四月 2023 15:53:47 +0800 Subject: [PATCH] 自传和通讯录界面(未完成未修改) --- app/src/main/res/layout/item_growth_experience_primary.xml | 21 ++++++++------------- 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/app/src/main/res/layout/item_growth_experience_primary.xml b/app/src/main/res/layout/item_growth_experience_primary.xml index 1bd98d6..f344f6f 100644 --- a/app/src/main/res/layout/item_growth_experience_primary.xml +++ b/app/src/main/res/layout/item_growth_experience_primary.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 @@ -31,15 +32,6 @@ android:layout_height="@dimen/dp_40" android:gravity="center_vertical" > - <CheckBox - android:id="@+id/checkbox" - android:layout_width="18dp" - android:layout_height="18dp" - android:layout_marginStart="3dp" - android:layout_centerVertical="true" - android:button="@drawable/selector_checkbox" - android:background="?selectableItemBackgroundBorderless" - /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -47,8 +39,9 @@ android:layout_marginStart="24dp" android:textSize="@dimen/sp_16" android:textColor="@color/black" - android:text="@{bean.duringTime}" + android:text="@{bean.startDate}" android:layout_weight="1" + tools:text="2010-2016" android:textStyle="bold" /> <TextView @@ -56,14 +49,16 @@ android:layout_height="wrap_content" android:textSize="@dimen/sp_16" android:textColor="@color/black" - android:text="@{bean.School}" + android:text="@{bean.content}" 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" @@ -86,7 +81,7 @@ <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@{String.valueOf(bean.id)}" + android:text="@{bean.witness}" android:textColor="@color/black" android:textSize="@dimen/sp_12" android:textStyle="bold" -- Gitblit v1.9.1