pandorapan/live/src/main/res/layout/view_live_audience.xml

460 lines
18 KiB
XML
Raw Normal View History

2022-07-18 15:31:45 +08:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
2022-07-25 16:06:39 +08:00
android:layout_height="match_parent"
2022-07-18 15:31:45 +08:00
android:orientation="vertical">
2022-07-25 16:06:39 +08:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
2022-08-03 18:24:52 +08:00
<LinearLayout
android:id="@+id/chart_room_layout"
2022-07-18 15:31:45 +08:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-08-03 18:24:52 +08:00
android:layout_alignParentBottom="true"
android:layout_gravity="bottom"
2022-07-26 10:01:19 +08:00
android:orientation="vertical">
2022-08-03 18:24:52 +08:00
<LinearLayout
android:id="@+id/btn_turntable"
android:layout_width="76dp"
android:layout_height="45dp"
android:layout_gravity="right"
android:layout_marginRight="10dp"
android:layout_marginBottom="30dp"
android:gravity="center_horizontal"
android:orientation="vertical"
android:visibility="gone">
2022-07-18 15:31:45 +08:00
2022-08-03 18:24:52 +08:00
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/live_turntable" />
</LinearLayout>
<LinearLayout
android:id="@+id/btn_onecz_event"
android:layout_width="55dp"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="10dp"
android:layout_marginBottom="20dp"
android:gravity="center_horizontal"
android:orientation="vertical"
android:visibility="gone">
<pl.droidsonroids.gif.GifImageView
android:id="@+id/img_onecz"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:src="@mipmap/onecz" />
</LinearLayout>
2022-07-18 15:31:45 +08:00
2022-08-03 18:24:52 +08:00
<LinearLayout
android:id="@+id/btn_wishlist"
android:layout_width="55dp"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="10dp"
2022-08-18 14:32:24 +08:00
android:layout_marginBottom="50dp"
2022-08-03 18:24:52 +08:00
android:gravity="center_horizontal"
android:orientation="vertical"
android:visibility="gone">
2022-07-18 15:31:45 +08:00
2022-08-03 18:24:52 +08:00
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/icon_wish_player" />
<TextView
android:id="@+id/wishlist_tip"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/live_wish_list"
android:textColor="@color/gray2"
android:textSize="10sp"
android:visibility="gone" />
</LinearLayout>
2022-07-18 15:31:45 +08:00
2022-08-03 18:24:52 +08:00
<LinearLayout
android:id="@+id/btn_link_mic2"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="right"
android:layout_marginRight="10dp"
android:layout_marginBottom="5dp"
android:background="@drawable/bg_live_link_mic"
android:gravity="center_horizontal"
android:orientation="vertical"
android:visibility="gone">
2022-07-18 15:31:45 +08:00
2022-08-03 18:24:52 +08:00
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginTop="2dp"
android:src="@mipmap/icon_live_link_mic" />
2022-07-18 15:31:45 +08:00
2022-08-03 18:24:52 +08:00
<TextView
android:id="@+id/link_mic_tip"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/live_link_mic_2"
android:textColor="@color/gray2"
android:textSize="10sp" />
2022-07-18 15:31:45 +08:00
2022-08-03 18:24:52 +08:00
</LinearLayout>
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
</LinearLayout>
2022-07-18 15:31:45 +08:00
2022-10-26 15:28:03 +08:00
<LinearLayout
2022-08-17 09:29:24 +08:00
android:layout_width="match_parent"
2022-08-17 14:12:31 +08:00
android:layout_height="45dp"
2022-10-26 16:16:55 +08:00
android:layout_alignParentBottom="true"
android:gravity="center_vertical">
2022-08-17 09:29:24 +08:00
<ImageView
android:id="@+id/btn_close"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:padding="5dp"
android:src="@mipmap/icon_live_close"
android:visibility="invisible" />
<pl.droidsonroids.gif.GifImageView
android:id="@+id/btn_zg"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_toLeftOf="@id/btn_gift"
android:adjustViewBounds="true"
android:background="@mipmap/img_bg"
android:padding="5dp"
2022-08-17 14:12:31 +08:00
android:src="@mipmap/zg"
android:visibility="gone" />
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<RelativeLayout
android:id="@+id/btn_zg1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
2022-08-17 14:12:31 +08:00
android:layout_toLeftOf="@id/btn_zg"
android:visibility="gone">
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<ImageView
2022-08-03 18:24:52 +08:00
android:layout_width="32dp"
android:layout_height="32dp"
2022-08-17 09:29:24 +08:00
android:background="@mipmap/img_bg" />
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<pl.droidsonroids.gif.GifImageView
android:id="@+id/btn_hd"
android:layout_width="33dp"
android:layout_height="33dp"
android:adjustViewBounds="true"
android:src="@mipmap/play" />
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
</RelativeLayout>
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<pl.droidsonroids.gif.GifImageView
android:id="@+id/btn_share"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_toRightOf="@id/btn_gift"
android:adjustViewBounds="true"
android:background="@mipmap/img_bg"
android:padding="5dp"
android:src="@mipmap/zan_gif"
android:visibility="gone" />
<pl.droidsonroids.gif.GifImageView
android:id="@+id/btn_gift"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_marginRight="10dp"
android:layout_toLeftOf="@id/btn_close"
android:adjustViewBounds="true"
android:background="@mipmap/img_bg"
2022-08-17 14:12:31 +08:00
android:src="@mipmap/live_lw"
android:visibility="gone" />
2022-08-17 09:29:24 +08:00
<ImageView
android:id="@+id/btn_link_mic"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/btn_more"
android:src="@mipmap/icon_live_link_mic_1"
android:visibility="gone" />
<ImageView
android:id="@+id/btn_more"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:layout_marginRight="5dp"
android:layout_toLeftOf="@id/btn_mic"
2022-08-17 14:12:31 +08:00
android:src="@mipmap/live_user_more"
android:visibility="gone" />
2022-08-17 09:29:24 +08:00
<ImageView
android:id="@+id/btn_mic"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:layout_marginRight="5dp"
android:layout_toLeftOf="@id/btn_zg1"
2022-08-17 14:12:31 +08:00
android:src="@mipmap/lianmai"
android:visibility="gone" />
<ImageView
android:id="@+id/btn_red_pack"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_marginRight="5dp"
android:layout_toLeftOf="@id/btn_link_mic"
android:padding="5dp"
android:src="@mipmap/icon_live_red_pack"
android:visibility="gone" />
2022-10-26 15:28:03 +08:00
<!--聊天-->
2022-08-17 14:12:31 +08:00
<LinearLayout
android:id="@+id/message_layout"
android:layout_width="126dp"
android:layout_height="35dp"
2022-08-17 14:12:31 +08:00
android:layout_marginStart="10dp"
2022-10-24 18:18:39 +08:00
android:clickable="false"
2022-08-17 14:12:31 +08:00
android:orientation="horizontal">
2022-08-17 14:12:31 +08:00
<TextView
android:id="@+id/et_input"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="9"
2022-08-17 14:12:31 +08:00
android:alpha="0.5"
android:background="@drawable/bc_sound_recording_left"
android:gravity="center"
android:hint="@string/say_something3"
2022-08-17 14:12:31 +08:00
android:singleLine="true"
android:textColor="#D9D9D9"
2022-08-17 14:12:31 +08:00
android:textColorHint="@color/gray3"
android:textSize="12sp" />
<LinearLayout
2022-10-24 18:18:39 +08:00
android:id="@+id/voice_button"
android:layout_width="36dp"
android:layout_height="36dp"
2022-10-24 18:18:39 +08:00
android:background="@drawable/bc_sound_recording_right"
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center">
<ImageView
2022-10-24 18:18:39 +08:00
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_gravity="center"
2022-10-24 18:18:39 +08:00
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
android:src="@mipmap/icon_voice"
android:visibility="visible" />
</LinearLayout>
2022-08-17 14:12:31 +08:00
</LinearLayout>
2022-10-26 15:28:03 +08:00
<!--消息中心-->
2022-08-17 09:29:24 +08:00
<RelativeLayout
android:id="@+id/msg_view"
android:layout_width="wrap_content"
2022-10-26 16:16:55 +08:00
android:layout_height="wrap_content">
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<RelativeLayout
android:id="@+id/rt_msg"
android:layout_width="45dp"
android:layout_height="45dp">
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<ImageView
android:id="@+id/btn_msg"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_centerInParent="true"
android:src="@mipmap/icon_message" />
2022-08-17 09:29:24 +08:00
<View
android:id="@+id/v_msg_redpoint"
android:layout_width="6dp"
android:layout_height="6dp"
2022-08-17 09:29:24 +08:00
android:layout_marginTop="6dp"
android:background="@drawable/background_ff5075"
android:visibility="gone" />
</RelativeLayout>
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<TextView
android:id="@+id/red_point"
android:layout_width="wrap_content"
android:layout_height="14dp"
android:layout_alignTop="@id/rt_msg"
android:layout_alignRight="@id/rt_msg"
android:layout_marginTop="5dp"
2022-08-03 18:24:52 +08:00
android:layout_marginRight="5dp"
2022-08-17 09:29:24 +08:00
android:background="@drawable/bg_red_point"
android:gravity="center"
android:includeFontPadding="false"
android:minWidth="14dp"
android:paddingLeft="3dp"
android:paddingRight="3dp"
android:textColor="#fff"
android:textSize="10sp"
android:translationY="-4dp"
android:visibility="invisible" />
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
</RelativeLayout>
2022-10-26 16:16:55 +08:00
2022-08-03 18:24:52 +08:00
2022-10-26 15:28:03 +08:00
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="1" />
2022-11-10 13:48:08 +08:00
2022-10-26 16:16:55 +08:00
<!--整蛊-->
<ImageView
android:id="@+id/live_cheat"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginEnd="8dp"
android:src="@mipmap/icon_prank" />
2022-10-26 16:16:55 +08:00
<!---->
<ImageView
android:id="@+id/live_play"
2022-10-27 10:36:25 +08:00
android:layout_width="27.2dp"
android:layout_height="27.2dp"
android:layout_marginEnd="8dp"
android:src="@mipmap/live_icon_play"
android:visibility="gone" />
2022-10-26 15:28:03 +08:00
<!--新人特惠-->
<RelativeLayout
android:layout_width="40dp"
android:layout_height="40dp"
2022-10-26 15:28:03 +08:00
android:layout_marginEnd="13dp"
2022-10-26 16:16:55 +08:00
android:padding="4dp"
android:visibility="gone">
<ImageView
android:id="@+id/live_new_people"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
2022-10-20 15:10:18 +08:00
android:src="@mipmap/live_icon_newpeople_en"
android:visibility="invisible" />
<View
android:id="@+id/live_new_people_red_dot"
android:layout_width="12dp"
android:layout_height="12dp"
android:layout_alignParentRight="true"
android:layout_marginTop="0dp"
android:layout_marginRight="0dp"
android:background="@drawable/background_ff5075"
android:visibility="invisible" />
</RelativeLayout>
2022-10-26 15:28:03 +08:00
<!--礼物-->
<ImageView
android:id="@+id/gift_image"
2023-03-27 15:29:43 +08:00
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="8dp"
2023-03-27 15:29:43 +08:00
android:background="@drawable/background_gift" />
<!--特权-->
<ImageView
android:id="@+id/live_privilege"
android:layout_width="35dp"
android:layout_height="35dp"
2022-10-26 15:28:03 +08:00
android:layout_marginEnd="8dp"
android:src="@mipmap/icon_privilege" />
2022-11-10 13:48:08 +08:00
<!--普通工具合集-->
<ImageView
android:id="@+id/total_image"
android:layout_width="35dp"
android:layout_height="35dp"
2022-11-10 13:48:08 +08:00
android:layout_marginEnd="8dp"
android:src="@mipmap/icon_more_live_menu" />
2022-10-26 15:28:03 +08:00
</LinearLayout>
2022-07-25 16:06:39 +08:00
<com.opensource.svgaplayer.SVGAImageView
android:id="@+id/svga_new_user_gif"
android:layout_width="116dp"
android:layout_height="40dp"
2022-08-03 18:24:52 +08:00
android:layout_alignParentRight="true"
2022-07-25 16:06:39 +08:00
android:layout_alignParentBottom="true"
2022-08-03 18:24:52 +08:00
android:layout_gravity="center_vertical"
android:layout_marginRight="5dp"
2022-08-03 18:24:52 +08:00
android:layout_marginBottom="40dp"
app:autoPlay="true" />
2022-07-25 16:06:39 +08:00
2022-07-26 10:01:19 +08:00
<com.opensource.svgaplayer.SVGAImageView
android:id="@+id/svga_new_user_double"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
2022-08-03 18:24:52 +08:00
android:layout_marginBottom="40dp"
app:autoPlay="true" />
2022-07-26 10:01:19 +08:00
<com.opensource.svgaplayer.SVGAImageView
android:id="@+id/svga_new_user_follow"
android:layout_width="116dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
2022-08-03 18:24:52 +08:00
android:layout_marginTop="80dp"
2022-07-26 10:01:19 +08:00
app:autoPlay="true" />
2022-08-03 18:24:52 +08:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="360dp">
<com.opensource.svgaplayer.SVGAImageView
android:id="@+id/svga_station_horn"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical" />
<include
android:id="@+id/station_horn_banner"
2022-08-17 09:29:24 +08:00
layout="@layout/view_whole_station_horn_layout"
android:visibility="gone" />
2022-08-03 18:24:52 +08:00
</RelativeLayout>
2022-07-25 16:06:39 +08:00
</RelativeLayout>
2022-08-03 18:24:52 +08:00
2022-07-18 15:31:45 +08:00
</LinearLayout>