From 1a822a73b6fe7b67fc741e565959ac118e37358c Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 08 八月 2024 13:27:27 +0800 Subject: [PATCH] # --- app/src/main/res/layout/item_view_linear.xml | 32 ++++++++++++++++++++------------ 1 files changed, 20 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/item_view_linear.xml b/app/src/main/res/layout/item_view_linear.xml index ee56a0c..94489f4 100644 --- a/app/src/main/res/layout/item_view_linear.xml +++ b/app/src/main/res/layout/item_view_linear.xml @@ -1,34 +1,42 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="wrap_content" + android:padding="10dp" + android:layout_margin="10dp" + android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> + <LinearLayout android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="9" android:orientation="vertical"> + + <TextView + android:id="@+id/item_ip" + android:layout_width="match_parent" + android:layout_height="25dp" + android:text="matnr1" /> + <TextView android:id="@+id/item_title" android:layout_width="match_parent" android:layout_height="25dp" - android:text="matnr"/> - <TextView - android:id="@+id/item_message" - android:layout_width="match_parent" - android:layout_height="25dp" - android:text="matnr"/> + android:text="matnr" /> + + </LinearLayout> - <ImageView - android:layout_width="0dp" - android:layout_height="match_parent" - android:layout_weight="1" /> + </LinearLayout> + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:background="#EEE" /> </LinearLayout> \ No newline at end of file -- Gitblit v1.9.1