fix:修正信息 tag 列表項阿語環境在 Android 低版本時佈局異常問題
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
android:id="@+id/noble_avatar_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="start|center_vertical"
|
||||
android:layout_marginStart="5dp" />
|
||||
|
||||
<LinearLayout
|
||||
|
@@ -6,32 +6,35 @@
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:orientation="vertical"
|
||||
tools:background="@color/color_white">
|
||||
tools:background="@color/color_white"
|
||||
android:gravity="start|center_vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
android:layout_gravity="start|center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_user_avatar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="11dp">
|
||||
|
||||
<com.netease.nim.uikit.common.ui.imageview.HeadImageView
|
||||
android:id="@+id/img_head"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentStart="true"
|
||||
tools:src="@drawable/default_avatar" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/noble_head_wear"
|
||||
android:layout_width="65.5dp"
|
||||
android:layout_height="65.5dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentStart="true"
|
||||
tools:src="@mipmap/ic_user_avatar_level_king" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
@@ -17,14 +17,16 @@
|
||||
android:id="@+id/img_head"
|
||||
android:layout_width="55dp"
|
||||
android:layout_height="55dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentStart="true"
|
||||
tools:src="@drawable/default_avatar" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/noble_head_wear"
|
||||
android:layout_width="75dp"
|
||||
android:layout_height="75dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentStart="true"
|
||||
tools:src="@mipmap/ic_user_avatar_level_king" />
|
||||
|
||||
<FrameLayout
|
||||
|
@@ -8,14 +8,16 @@
|
||||
android:id="@+id/iv_avatar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentStart="true"
|
||||
tools:src="@drawable/default_avatar" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_avatar_head_wear"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:visibility="visible"
|
||||
/>
|
||||
|
||||
|
Reference in New Issue
Block a user