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

439 lines
17 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-08-17 09:29:24 +08:00
<RelativeLayout
android:layout_width="match_parent"
2022-08-17 14:12:31 +08:00
android:layout_height="45dp"
android:layout_alignParentBottom="true">
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" />
<LinearLayout
android:id="@+id/message_layout"
android:layout_width="133dp"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:layout_marginStart="10dp"
android:layout_marginTop="5dp"
android:background="@drawable/bg_live_chat"
android:orientation="horizontal">
<TextView
android:id="@+id/et_input"
android:layout_width="match_parent"
android:layout_weight="1"
2022-08-17 14:12:31 +08:00
android:layout_height="30dp"
android:layout_gravity="center"
2022-08-17 14:12:31 +08:00
android:alpha="0.5"
android:gravity="center"
2022-08-17 14:12:31 +08:00
android:hint="@string/live_say_something"
android:singleLine="true"
android:textColor="@color/textColor"
android:textColorHint="@color/gray3"
android:textSize="12sp" />
<ImageView
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_gravity="center"
android:layout_marginEnd="15dp"
android:visibility="visible"
android:src="@mipmap/icon_live_msg" />
2022-08-17 14:12:31 +08:00
</LinearLayout>
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<RelativeLayout
android:id="@+id/msg_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
2022-08-17 14:12:31 +08:00
android:layout_toEndOf="@id/message_layout">
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="40dp"
android:layout_height="40dp"
android:layout_centerInParent="true"
2022-08-17 09:29:24 +08:00
android:padding="5dp"
android:src="@mipmap/messagesss" />
<View
android:id="@+id/v_msg_redpoint"
android:layout_width="12dp"
android:layout_height="12dp"
android:layout_alignParentRight="true"
android:layout_marginTop="6dp"
android:layout_marginRight="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:text="1"
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-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<ImageView
2022-08-17 14:12:31 +08:00
android:id="@+id/total_image"
android:layout_width="40dp"
2022-08-17 09:29:24 +08:00
android:layout_height="40dp"
2022-08-17 14:12:31 +08:00
android:layout_centerVertical="true"
android:layout_toEndOf="@+id/msg_view"
2022-08-17 09:29:24 +08:00
android:padding="5dp"
2022-08-17 14:12:31 +08:00
android:src="@mipmap/live_icon_more" />
2022-08-03 18:24:52 +08:00
2022-08-17 14:12:31 +08:00
<ImageView
android:id="@+id/gift_image"
android:layout_width="38dp"
android:layout_height="38dp"
android:layout_alignParentRight="true"
2022-08-17 09:29:24 +08:00
android:layout_centerVertical="true"
2022-08-17 14:12:31 +08:00
android:layout_marginEnd="10dp"
android:layout_marginBottom="5dp"
android:src="@mipmap/live_lw" />
2022-08-03 18:24:52 +08:00
2022-08-17 14:12:31 +08:00
<ImageView
android:id="@+id/live_new_people1"
2022-08-17 14:12:31 +08:00
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_centerVertical="true"
android:layout_toStartOf="@id/gift_image"
android:padding="4dp"
2022-08-31 16:12:42 +08:00
android:src="@mipmap/live_icon_newpeople_en"
android:visibility="gone" />
<RelativeLayout
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_centerVertical="true"
android:layout_toStartOf="@id/gift_image"
android:padding="4dp">
<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-08-17 09:29:24 +08:00
</RelativeLayout>
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"
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>