直播关闭

This commit is contained in:
18401019693
2022-08-09 16:54:30 +08:00
parent 6ce970df07
commit 2db6115534
46 changed files with 1484 additions and 309 deletions

View File

@@ -14,7 +14,8 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#b3000000">
android:background="#b3000000"
android:visibility="gone">
<TextView
android:id="@+id/text_1"
@@ -163,4 +164,332 @@
</RelativeLayout>
<RelativeLayout
android:id="@+id/user_live_end"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#b3000000"
android:visibility="gone">
<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">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="17dp"
android:text="@string/live_duration"
android:textColor="@color/white"
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="@color/white"
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="@color/white"
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: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_marginTop="20.67dp"
android:layout_marginStart="11dp"
android:layout_marginEnd="11dp" />
<TextView
android:id="@+id/go_home_user"
android:layout_width="206.33dp"
android:layout_height="46.67dp"
android:layout_marginStart="71dp"
android:layout_marginTop="60dp"
android:layout_marginEnd="71dp"
android:background="@drawable/background_live_end_btn"
android:gravity="center"
android:text="@string/live_back"
android:textColor="@color/white"
android:textSize="16sp" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/anchor_live_end"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#b3000000">
<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_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:layout_centerHorizontal="true"
android:text="@string/live_back"
android:textColor="@color/white"
android:textSize="16sp" />
</RelativeLayout>
</RelativeLayout>