502 lines
19 KiB
XML
502 lines
19 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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="match_parent"
|
|
android:clickable="true">
|
|
|
|
<ImageView
|
|
android:id="@+id/avatar_1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#b3000000"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/text_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="80dp"
|
|
android:text="@string/live_end"
|
|
android:textColor="@color/global"
|
|
android:textSize="24sp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="180dp"
|
|
android:layout_below="@id/text_1"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginTop="100dp"
|
|
android:layout_marginRight="20dp"
|
|
android:background="@drawable/bg_live_end"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="70dp"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginTop="15dp"
|
|
android:background="#33ffffff" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/duration"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:gravity="center_horizontal"
|
|
android:textColor="@color/white"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="7dp"
|
|
android:text="@string/live_duration"
|
|
android:textColor="@color/gray3" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/votes"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:gravity="center_horizontal"
|
|
android:textColor="@color/white"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/votes_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="7dp"
|
|
android:textColor="@color/gray3" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/watch_num"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:gravity="center_horizontal"
|
|
android:textColor="@color/white"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="7dp"
|
|
android:text="@string/live_watch_num"
|
|
android:textColor="@color/gray3" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/avatar_2"
|
|
android:layout_width="100dp"
|
|
android:layout_height="100dp"
|
|
android:layout_below="@id/text_1"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="50dp"
|
|
android:scaleType="centerCrop"
|
|
app:riv_oval="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/btn_back"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:layout_below="@id/group"
|
|
android:layout_marginLeft="50dp"
|
|
android:layout_marginTop="50dp"
|
|
android:layout_marginRight="50dp"
|
|
android:background="@drawable/login_btn"
|
|
android:gravity="center"
|
|
android:text="@string/live_back"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/user_live_end"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#b3000000"
|
|
android:visibility="visible">
|
|
|
|
|
|
<View
|
|
android:id="@+id/view_xian"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_marginEnd="15dp"
|
|
android:background="@mipmap/img_xian" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@id/view_xian"
|
|
android:layout_marginTop="54dp"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/live_end"
|
|
android:textColor="@color/white"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="14dp"
|
|
android:text="@string/live_duration"
|
|
android:textColor="#70ffffff"
|
|
android:textSize="13.33sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="2dp"
|
|
android:layout_marginTop="17dp"
|
|
android:text=":"
|
|
android:textColor="#70ffffff"
|
|
android:textSize="13.33sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/live_duration_user"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="7dp"
|
|
android:layout_marginTop="17dp"
|
|
android:textColor="#70ffffff"
|
|
android:textSize="13.33sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="88.13dp"
|
|
android:layout_height="88.13dp"
|
|
android:layout_marginTop="22dp"
|
|
android:background="@drawable/bg_white_clip">
|
|
|
|
<com.yunbao.common.views.weight.ClipPathCircleImage
|
|
android:id="@+id/clip_image_user"
|
|
android:layout_width="87dp"
|
|
android:layout_height="87dp"
|
|
android:layout_gravity="center" />
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/live_name_user"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/bind_phone_text2"
|
|
android:textColor="@color/white"
|
|
android:textSize="13.33sp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/follow_user"
|
|
android:layout_width="65.33dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/background_live_end"
|
|
android:gravity="center_vertical"
|
|
android:padding="10dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="+ "
|
|
android:textColor="@color/white"
|
|
android:textSize="13.33sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/follow"
|
|
android:textColor="@color/white"
|
|
android:textSize="13.33sp" />
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/list_show"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/view_xian"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/type_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="11dp"
|
|
android:layout_marginTop="33.67dp"
|
|
android:layout_marginEnd="11dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/change_batch_user"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|right"
|
|
android:background="@mipmap/icon_cange" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/anchor_more"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:drawablePadding="5dp"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/you_may_also_like"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
</FrameLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/like_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="11dp"
|
|
android:layout_marginTop="20.67dp"
|
|
android:layout_marginEnd="11dp" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/go_home_user"
|
|
android:layout_width="206.33dp"
|
|
android:layout_height="46.67dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginStart="71dp"
|
|
android:layout_marginTop="60dp"
|
|
android:layout_marginEnd="71dp"
|
|
android:layout_marginBottom="52dp"
|
|
android:background="@drawable/background_live_end_btn"
|
|
android:gravity="center"
|
|
android:text="@string/live_back"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/anchor_live_end"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#b3000000"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="54dp"
|
|
android:text="@string/live_end"
|
|
android:textColor="@color/white"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/anchor_data_show"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="195.33dp"
|
|
android:layout_below="@id/title"
|
|
android:layout_marginStart="14.67dp"
|
|
android:layout_marginTop="95dp"
|
|
android:layout_marginEnd="14.67dp"
|
|
android:background="@drawable/background_anchor_live_end">
|
|
|
|
<TextView
|
|
android:id="@+id/anchor_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="58dp"
|
|
android:text="@string/follow"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/anchor_name"
|
|
android:layout_marginTop="42.67dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/live_duration_anchor"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/live_duration"
|
|
android:textColor="@color/white"
|
|
android:textSize="13.33sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/live_votes"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/live_votes"
|
|
android:textColor="@color/white"
|
|
android:textSize="13.33sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/live_watch_num"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/live_watch_num"
|
|
android:textColor="@color/white"
|
|
android:textSize="13.33sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="88.13dp"
|
|
android:layout_height="88.13dp"
|
|
android:layout_above="@id/anchor_data_show"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="-140dp"
|
|
android:background="@drawable/bg_white_clip">
|
|
|
|
<com.yunbao.common.views.weight.ClipPathCircleImage
|
|
android:id="@+id/clip_image_anchor"
|
|
android:layout_width="87dp"
|
|
android:layout_height="87dp"
|
|
android:layout_gravity="center" />
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/go_home_anchor"
|
|
android:layout_width="206.33dp"
|
|
android:layout_height="46.67dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginStart="71dp"
|
|
android:layout_marginTop="60dp"
|
|
android:layout_marginEnd="71dp"
|
|
android:layout_marginBottom="52dp"
|
|
android:background="@drawable/background_live_end_btn"
|
|
android:gravity="center"
|
|
android:text="@string/live_back"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
</RelativeLayout>
|
|
</RelativeLayout> |