开播关播页面

This commit is contained in:
Martin
2024-08-13 18:29:11 +08:00
parent 732be62f90
commit e7d43e2b48
40 changed files with 1065 additions and 479 deletions

View File

@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="280dp"
android:layout_height="350dp"
android:orientation="vertical"
app:cardCornerRadius="12dp"
app:cardElevation="16dp">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="470dp"
android:layout_gravity="bottom"
android:background="@drawable/open_live_bg"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
@@ -18,23 +17,29 @@
android:layout_marginTop="16dp"
android:gravity="center"
android:text="@string/confirmation_of_broadcast"
android:textColor="#161616"
android:textColor="#333333"
android:textSize="16sp" />
<LinearLayout
android:id="@+id/line_clarity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="29dp"
android:layout_marginStart="18dp"
android:layout_marginTop="14dp"
android:layout_marginEnd="29dp"
android:layout_marginEnd="16dp"
android:gravity="center_vertical">
<ImageView
android:layout_width="20dp"
android:layout_marginEnd="7dp"
android:src="@mipmap/icon_live_open_clarity"
android:layout_height="20dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clarity"
android:textColor="#999999"
android:textColor="#FF666666"
android:textSize="14sp" />
<View
@@ -47,48 +52,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clarity"
android:textColor="#FFC621"
android:textColor="#FF666666"
android:textSize="14sp" />
<ImageView
android:layout_width="5dp"
android:layout_height="10dp"
android:layout_marginStart="6dp"
android:src="@mipmap/icon_more_open" />
</LinearLayout>
<LinearLayout
android:id="@+id/line_live_room_type"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="29dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="29dp"
android:gravity="center_vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/live_room_type"
android:textColor="#999999"
android:textSize="14sp" />
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="1" />
<TextView
android:id="@+id/text_live_room_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clarity"
android:textColor="#FFC621"
android:textSize="14sp" />
<ImageView
android:layout_width="5dp"
android:layout_height="10dp"
android:layout_marginStart="6dp"
android:src="@mipmap/icon_more_open" />
@@ -99,16 +67,22 @@
android:id="@+id/line_live_class"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="29dp"
android:layout_marginStart="18dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="29dp"
android:layout_marginEnd="16dp"
android:gravity="center_vertical">
<ImageView
android:layout_width="20dp"
android:layout_marginEnd="7dp"
android:src="@mipmap/icon_live_open_live_class1"
android:layout_height="20dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/live_class1"
android:textColor="#999999"
android:textColor="#FF666666"
android:textSize="14sp" />
<View
@@ -121,7 +95,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/live_class1"
android:textColor="#FFC621"
android:textColor="#FF666666"
android:textSize="14sp" />
<ImageView
@@ -132,57 +106,25 @@
</LinearLayout>
<LinearLayout
android:id="@+id/line_live_wishlist"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="29dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="29dp"
android:gravity="center_vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/live_wishlist"
android:textColor="#999999"
android:textSize="14sp" />
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="1" />
<TextView
android:id="@+id/text_live_wishlist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clarity"
android:textColor="#FFC621"
android:textSize="14sp" />
<ImageView
android:layout_width="5dp"
android:layout_height="10dp"
android:layout_marginStart="6dp"
android:src="@mipmap/icon_more_open" />
</LinearLayout>
<LinearLayout
android:id="@+id/line_robot"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="29dp"
android:layout_marginStart="18dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="29dp"
android:layout_marginEnd="16dp"
android:gravity="center_vertical">
<ImageView
android:layout_width="20dp"
android:layout_marginEnd="7dp"
android:src="@mipmap/icon_live_open_live_class1"
android:layout_height="20dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/robot"
android:textColor="#999999"
android:textColor="#FF666666"
android:textSize="14sp" />
<View
@@ -195,11 +137,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clarity"
android:textColor="#FFC621"
android:textColor="#FF666666"
android:textSize="14sp" />
<ImageView
android:layout_width="5dp"
android:layout_width="wrap_content"
android:layout_height="10dp"
android:layout_marginStart="6dp"
android:src="@mipmap/icon_more_open" />
@@ -210,16 +152,20 @@
android:id="@+id/line_say"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="29dp"
android:layout_marginStart="18dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="29dp"
android:layout_marginEnd="16dp"
android:gravity="center_vertical">
<ImageView
android:layout_width="20dp"
android:layout_marginEnd="7dp"
android:src="@mipmap/icon_live_open_anchor_say"
android:layout_height="20dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/live_fun_anchor_say"
android:textColor="#999999"
android:textColor="#FF666666"
android:textSize="14sp" />
<View
@@ -232,11 +178,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clarity"
android:textColor="#FFC621"
android:textColor="#FF666666"
android:textSize="14sp" />
<ImageView
android:layout_width="5dp"
android:layout_width="wrap_content"
android:layout_height="10dp"
android:layout_marginStart="6dp"
android:src="@mipmap/icon_more_open" />
@@ -247,17 +193,17 @@
android:id="@+id/line_call"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="29dp"
android:layout_marginStart="18dp"
android:visibility="gone"
android:layout_marginTop="20dp"
android:layout_marginEnd="29dp"
android:layout_marginEnd="16dp"
android:gravity="center_vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/live_fun_call_me"
android:textColor="#999999"
android:textColor="#FF666666"
android:textSize="14sp" />
<View
@@ -270,7 +216,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clarity"
android:textColor="#FFC621"
android:textColor="#FF666666"
android:textSize="14sp" />
<ImageView
@@ -281,20 +227,105 @@
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_marginStart="18dp"
android:layout_marginTop="20dp"
android:orientation="vertical"
android:padding="10dp"
android:layout_marginEnd="16dp"
android:background="@drawable/live_open_with"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:gravity="center"
android:layout_height="match_parent">
<ImageView
android:layout_width="12dp"
android:layout_marginStart="15dp"
android:layout_marginEnd="3dp"
android:src="@mipmap/icon_live_open_xjd_tip"
android:layout_height="12dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:ellipsize="end"
android:text="@string/live_open_wishlive_tips"
android:textColor="#FF666666"
android:textSize="12sp" />
<ImageView
android:layout_width="12dp"
android:layout_marginStart="3dp"
android:layout_marginEnd="7dp"
android:src="@mipmap/icon_live_open_xjd_tip"
android:layout_height="12dp"/>
</LinearLayout>
<LinearLayout
android:layout_marginTop="26dp"
android:id="@+id/line_live_wishlist"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
android:gravity="center_vertical">
<ImageView
android:layout_width="20dp"
android:layout_marginEnd="7dp"
android:src="@mipmap/icon_live_open_xjd"
android:layout_height="20dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/live_wishlist"
android:textColor="#FF666666"
android:textSize="14sp" />
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="1" />
<TextView
android:id="@+id/text_live_wishlist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/clarity"
android:textColor="#FF666666"
android:textSize="14sp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="10dp"
android:layout_marginStart="6dp"
android:src="@mipmap/icon_more_open" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/live_open_cancel"
android:layout_width="100dp"
android:layout_height="36dp"
android:layout_marginStart="16dp"
android:layout_marginTop="24dp"
android:background="@drawable/backgroud_live_open_lfet"
android:layout_width="90dp"
android:layout_height="40dp"
android:layout_marginStart="30dp"
android:layout_marginTop="73dp"
android:background="@drawable/backgroud_live_open_lfet_new"
android:gravity="center"
android:text="@string/back"
android:textColor="#FFC621"
android:textColor="#FF666666"
android:textSize="14sp" />
<View
@@ -304,17 +335,17 @@
<TextView
android:id="@+id/live_open_ok"
android:layout_width="100dp"
android:layout_height="36dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="16dp"
android:layout_width="150dp"
android:layout_height="40dp"
android:layout_marginTop="73dp"
android:layout_marginEnd="30dp"
android:background="@drawable/backgroud_live_open_right"
android:gravity="center"
android:text="@string/broadcast"
android:text="@string/live_open"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>