From 1df231fd6aafa221aef3532d069c7e27d4331be7 Mon Sep 17 00:00:00 2001 From: Linjiajia <319408893@qq.com> Date: 星期日, 27 八月 2023 19:21:01 +0800 Subject: [PATCH] 功能全部完成 --- app/src/main/res/layout/item_contacts_detail.xml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/item_contacts_detail.xml b/app/src/main/res/layout/item_contacts_detail.xml index 4e6abff..afa08e8 100644 --- a/app/src/main/res/layout/item_contacts_detail.xml +++ b/app/src/main/res/layout/item_contacts_detail.xml @@ -25,7 +25,7 @@ app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:round="8dp" - android:background="@color/teal_200" + android:background="@color/white" android:layout_margin="5dp" app:imageUrl="@{bean.url.split(`,`)[0]}" /> @@ -42,7 +42,7 @@ <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@{bean.name}" + android:text="@{bean.name == null?`鈥斺�斺�斺�擿:bean.name}" android:maxLines="1" android:textColor="@color/black" android:textSize="14sp" @@ -58,7 +58,7 @@ <TextView android:layout_width="0dp" android:layout_height="wrap_content" - android:text="@{bean.nickName}" + android:text="@{bean.nickName==null?`鈥斺�擿:bean.nickName}" android:textColor="#80000000" android:textSize="12sp" android:layout_weight="2" @@ -71,7 +71,7 @@ <TextView android:layout_width="0dp" android:layout_height="wrap_content" - android:text="@{bean.work}" + android:text="@{bean.work == null?`鈥斺�斺�斺�擿:bean.work}" android:textColor="#80000000" android:textSize="12sp" android:maxLines="1" @@ -84,7 +84,7 @@ <TextView android:layout_width="0dp" android:layout_height="wrap_content" - android:text="@{bean.phone}" + android:text="@{bean.phone == null?`鈥斺�斺�斺�擿:bean.phone}" android:ellipsize="end" android:textColor="#80000000" android:textSize="12sp" -- Gitblit v1.9.1