470 lines
17 KiB
XML
470 lines
17 KiB
XML
|
<?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"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginTop="43dp"
|
||
|
android:background="@drawable/bg_live_user">
|
||
|
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/btn_setting"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_marginLeft="9dp"
|
||
|
android:layout_marginTop="25dp"
|
||
|
android:padding="8dp"
|
||
|
android:src="@mipmap/icon_live_user_6"
|
||
|
android:visibility="invisible" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_report"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_marginLeft="5dp"
|
||
|
android:layout_marginTop="25dp"
|
||
|
android:gravity="center"
|
||
|
android:paddingLeft="10dp"
|
||
|
android:paddingRight="10dp"
|
||
|
android:text="@string/report"
|
||
|
android:textColor="@color/textColor2"
|
||
|
android:visibility="invisible" />
|
||
|
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
|
||
|
<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:layout_centerHorizontal="true"
|
||
|
android:layout_centerVertical="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="gone" />
|
||
|
|
||
|
</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="gone" />
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/id_val"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:paddingRight="10dp"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textSize="13sp" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/sex"
|
||
|
android:layout_width="16dp"
|
||
|
android:layout_height="13dp"
|
||
|
android:layout_marginLeft="4dp" />
|
||
|
|
||
|
<com.yunbao.common.custom.DrawableTextView
|
||
|
android:id="@+id/city"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:drawablePadding="4dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:hint="@string/live_user_city_empty"
|
||
|
android:paddingLeft="20dp"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textColorHint="@color/textColor"
|
||
|
android:textSize="13sp"
|
||
|
android:visibility="gone"
|
||
|
app:dt_left_drawable="@mipmap/icon_live_user_3"
|
||
|
app:dt_left_height="12dp"
|
||
|
app:dt_left_width="12dp" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/sign"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="15dp"
|
||
|
android:layout_marginBottom="15dp"
|
||
|
android:textColor="@color/textColor2"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="15dp"
|
||
|
android:gravity="center"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<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="gone">
|
||
|
|
||
|
<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="gone" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/ry_ico1"
|
||
|
android:layout_width="35dp"
|
||
|
android:layout_height="35dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/ry_ico2"
|
||
|
android:layout_width="35dp"
|
||
|
android:layout_height="35dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/ry_ico3"
|
||
|
android:layout_width="35dp"
|
||
|
android:layout_height="35dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/ry_ico4"
|
||
|
android:layout_width="35dp"
|
||
|
android:layout_height="35dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:visibility="gone" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="45dp"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/level"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="35dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:text="@string/live_user_level"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="11sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/level_text"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="35dp"
|
||
|
android:layout_marginTop="23dp"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginLeft="40dp">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/anchor_level"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="35dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:text="@string/live_user_level_anchor"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="11sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/level_anchor_text"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="35dp"
|
||
|
android:layout_marginTop="23dp"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/impress_group"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="26dp"
|
||
|
android:layout_marginBottom="15dp"
|
||
|
android:orientation="horizontal"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="50dp"
|
||
|
android:layout_marginBottom="3dp"
|
||
|
android:paddingLeft="20dp"
|
||
|
android:paddingRight="20dp"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/follow"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textSize="15sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="7dp"
|
||
|
android:text="@string/follow"
|
||
|
android:textColor="@color/textColor2"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/fans"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textSize="15sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="7dp"
|
||
|
android:text="@string/fans"
|
||
|
android:textColor="@color/textColor2"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/consume"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textSize="15sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/consume_tip"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="7dp"
|
||
|
android:textColor="@color/textColor2"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/votes"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textSize="15sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/votes_tip"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="7dp"
|
||
|
android:textColor="@color/textColor2"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/bottom_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</FrameLayout>
|