This commit is contained in:
hch 2024-01-26 13:02:23 +08:00
parent 7ab4081f0b
commit 0552f56eb4
2 changed files with 9 additions and 6 deletions

View File

@ -68,9 +68,9 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="115dp" android:layout_height="115dp"
android:layout_marginLeft="15dp" android:layout_marginLeft="15dp"
android:visibility="gone"
android:layout_marginTop="15dp" android:layout_marginTop="15dp"
android:layout_marginRight="15dp"> android:layout_marginRight="15dp"
android:visibility="gone">
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cv_chatcontent_img1" android:id="@+id/cv_chatcontent_img1"
@ -101,6 +101,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="120dp" android:layout_height="120dp"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginLeft="5dp"
android:scrollbars="none" /> android:scrollbars="none" />
<Button <Button

View File

@ -2,9 +2,10 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout 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"
android:layout_width="100dp" android:layout_width="100dp"
android:layout_height="135dp" android:layout_height="170dp"
android:gravity="center" android:gravity="center_horizontal|top"
android:orientation="vertical"> android:orientation="vertical"
android:paddingEnd="5dp">
<com.makeramen.roundedimageview.RoundedImageView <com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/avatar" android:id="@+id/avatar"
@ -20,7 +21,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:ellipsize="end" android:ellipsize="end"
android:singleLine="true" android:maxLines="2"
android:gravity="center"
android:text="道具名称" android:text="道具名称"
android:textColor="@color/textColor" android:textColor="@color/textColor"
android:textSize="14sp" /> android:textSize="14sp" />