2022-11-07 16:48:16 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-11-08 11:38:20 +08:00
|
|
|
android:layout_marginTop="52dp"
|
2022-11-07 16:48:16 +08:00
|
|
|
android:background="@drawable/bg_live_user">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/btn_report"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
android:layout_marginEnd="14dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/report"
|
|
|
|
android:textColor="#B1B1B1"
|
|
|
|
android:visibility="visible"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/btn_guard"
|
|
|
|
android:layout_width="88dp"
|
|
|
|
android:layout_height="23dp"
|
|
|
|
android:layout_marginStart="14dp"
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
android:background="@drawable/bg_user_card_guard"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
2022-11-08 13:17:35 +08:00
|
|
|
android:visibility="invisible"
|
2022-11-07 16:48:16 +08:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<TextView
|
2022-11-08 13:17:35 +08:00
|
|
|
android:id="@+id/guard_val"
|
2022-11-07 16:48:16 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="1dp"
|
|
|
|
android:text="@string/user_card_guard"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView4"
|
|
|
|
android:layout_width="10dp"
|
|
|
|
android:layout_height="10dp"
|
|
|
|
app:srcCompat="@mipmap/icon_arrow_right_3" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/shawl"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="83dp"
|
|
|
|
android:layout_height="83dp">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
|
|
android:id="@+id/avatar"
|
|
|
|
android:layout_width="63dp"
|
|
|
|
android:layout_height="63dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:riv_oval="true" />
|
|
|
|
|
|
|
|
<com.opensource.svgaplayer.SVGAImageView
|
|
|
|
android:id="@+id/gift_svga"
|
|
|
|
android:layout_width="82dp"
|
|
|
|
android:layout_height="82dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:autoPlay="true" />
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<pl.droidsonroids.gif.GifImageView
|
|
|
|
android:id="@+id/btn_live"
|
|
|
|
android:layout_width="70dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:src="@mipmap/icon_user_home_living"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="7dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="@color/textColor"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="17dp"
|
|
|
|
android:layout_marginTop="13dp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/good_nub_ico"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:layout_marginRight="6dp"
|
|
|
|
android:src="@mipmap/good_nub"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/user_card_id"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:layout_marginRight="6dp"
|
|
|
|
android:src="@mipmap/user_card_id"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/id_val"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingRight="10dp"
|
2022-11-07 17:39:52 +08:00
|
|
|
android:textColor="#B1B1B1"
|
2022-11-07 16:48:16 +08:00
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:background="#B1B1B1"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/fans_val"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingRight="10dp"
|
2022-11-07 17:39:52 +08:00
|
|
|
android:textColor="#B1B1B1"
|
2022-11-07 16:48:16 +08:00
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:background="#B1B1B1"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/praise_val"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingRight="10dp"
|
2022-11-07 17:39:52 +08:00
|
|
|
android:textColor="#B1B1B1"
|
2022-11-07 16:48:16 +08:00
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/sex"
|
|
|
|
android:layout_width="27dp"
|
|
|
|
android:layout_height="17dp"
|
|
|
|
android:layout_marginLeft="4dp" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/user_card_lv_icon"
|
|
|
|
android:layout_width="46.5dp"
|
|
|
|
android:layout_height="17.5dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginStart="6dp"/>
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/user_card_noble"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:src="@mipmap/emperor_rom" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sign"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
android:layout_marginBottom="15dp"
|
2022-11-07 17:39:52 +08:00
|
|
|
android:textColor="#B1B1B1"
|
2022-11-07 16:48:16 +08:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/medal_ico1"
|
|
|
|
android:layout_width="35dp"
|
|
|
|
android:layout_height="35dp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/ry_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="visible">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/no_gz"
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:background="#B1B1B1"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ry_ico1"
|
|
|
|
android:layout_width="35dp"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ry_ico2"
|
|
|
|
android:layout_width="35dp"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ry_ico3"
|
|
|
|
android:layout_width="35dp"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ry_ico4"
|
|
|
|
android:layout_width="35dp"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:visibility="visible">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="112dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:background="@drawable/bg_user_card_lv"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/live_icon"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:visibility="visible"
|
|
|
|
android:src="@mipmap/icon_chat_face" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lv_desc"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/live_user_level_anchor"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lv_val"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Lv.0"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="112dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:background="@drawable/bg_user_card_fans"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:src="@mipmap/icon_chat_face" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/live_noble_level_anchor"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/noble_val"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Lv.0"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="112dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:background="@drawable/bg_user_card_honor"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:src="@mipmap/icon_chat_face"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/live_honor_number_anchor"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/honor_val"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="0"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/bottom_container"
|
2022-11-07 17:39:52 +08:00
|
|
|
android:layout_marginTop="13dp"
|
2022-11-07 16:48:16 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|