502 lines
20 KiB
XML
502 lines
20 KiB
XML
<?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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<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"
|
|
tools:visibility="gone">
|
|
|
|
<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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true"
|
|
android:src="@mipmap/onecz" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/btn_wishlist"
|
|
android:layout_width="55dp"
|
|
android:layout_height="55dp"
|
|
android:layout_gravity="right"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="50dp"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:src="@drawable/icon_wish_player" />
|
|
|
|
<TextView
|
|
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>
|
|
|
|
|
|
<LinearLayout
|
|
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">
|
|
|
|
<ImageView
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:layout_marginTop="2dp"
|
|
android:src="@mipmap/icon_live_link_mic" />
|
|
|
|
<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" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="52dp"
|
|
android:layout_alignParentBottom="true"
|
|
tools:layout_marginBottom="45dp">
|
|
|
|
<TextView
|
|
android:id="@+id/et_input"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:background="@drawable/bg_live_item_an"
|
|
android:gravity="center_vertical|start"
|
|
android:paddingStart="12dp"
|
|
android:text="@string/say_something3"
|
|
android:textColor="@color/white"
|
|
android:textSize="12sp"
|
|
app:layout_constraintBottom_toBottomOf="@+id/btn_msg"
|
|
app:layout_constraintEnd_toStartOf="@+id/btn_msg"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/btn_msg"
|
|
app:layout_constraintWidth_percent="0.4" />
|
|
|
|
<ImageView
|
|
android:id="@+id/voice_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:paddingStart="5dp"
|
|
android:paddingEnd="5dp"
|
|
android:src="@mipmap/ic_live_new_voice"
|
|
app:layout_constraintBottom_toBottomOf="@+id/et_input"
|
|
app:layout_constraintEnd_toEndOf="@+id/et_input"
|
|
app:layout_constraintTop_toTopOf="@+id/et_input" />
|
|
|
|
<ImageView
|
|
android:id="@+id/btn_msg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="5dp"
|
|
android:src="@mipmap/ic_live_menu_msg"
|
|
app:layout_constraintEnd_toStartOf="@+id/pd_pao"
|
|
app:layout_constraintStart_toEndOf="@+id/et_input"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<View
|
|
android:id="@+id/v_msg_redpoint"
|
|
android:layout_width="6dp"
|
|
android:layout_height="6dp"
|
|
android:layout_marginTop="6dp"
|
|
android:background="@drawable/background_ff5075"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="@+id/btn_msg"
|
|
app:layout_constraintEnd_toEndOf="@+id/btn_msg"
|
|
app:layout_constraintHorizontal_bias="0.12"
|
|
app:layout_constraintStart_toStartOf="@+id/btn_msg"
|
|
app:layout_constraintTop_toTopOf="@+id/btn_msg"
|
|
app:layout_constraintVertical_bias="0.11"
|
|
tools:visibility="visible" />
|
|
|
|
<ImageView
|
|
android:id="@+id/pd_pao"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="5dp"
|
|
android:src="@mipmap/ic_live_menu_panda"
|
|
app:layout_constraintEnd_toStartOf="@+id/gift_image"
|
|
app:layout_constraintStart_toEndOf="@+id/btn_msg"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<View
|
|
android:id="@+id/red_point"
|
|
android:layout_width="8dp"
|
|
android:layout_height="8dp"
|
|
android:background="@drawable/bg_red_point"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="@+id/btn_msg"
|
|
app:layout_constraintEnd_toEndOf="@+id/btn_msg"
|
|
app:layout_constraintHorizontal_bias="0.82"
|
|
app:layout_constraintStart_toStartOf="@+id/btn_msg"
|
|
app:layout_constraintTop_toTopOf="@+id/btn_msg"
|
|
app:layout_constraintVertical_bias="0.16"
|
|
tools:visibility="visible" />
|
|
|
|
<TextView
|
|
android:id="@+id/quick_gift_remaining_quantity"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:text="99"
|
|
android:textColor="#FFB403"
|
|
android:textSize="8sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintEnd_toEndOf="@+id/pd_pao"
|
|
app:layout_constraintStart_toStartOf="@+id/pd_pao"
|
|
app:layout_constraintTop_toBottomOf="@+id/et_input" />
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/combo"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:padding="5dp"
|
|
android:src="@mipmap/icon_combo"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="@+id/pd_pao"
|
|
app:layout_constraintEnd_toEndOf="@+id/pd_pao"
|
|
app:layout_constraintStart_toStartOf="@+id/pd_pao"
|
|
app:layout_constraintTop_toTopOf="@+id/pd_pao"
|
|
tools:visibility="gone" />
|
|
|
|
|
|
<com.yunbao.common.views.weight.CircleProgress2
|
|
android:id="@+id/circleProgress"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_margin="3dp"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="@+id/pd_pao"
|
|
app:layout_constraintEnd_toEndOf="@+id/pd_pao"
|
|
app:layout_constraintStart_toStartOf="@+id/pd_pao"
|
|
app:layout_constraintTop_toTopOf="@+id/pd_pao"
|
|
tools:visibility="visible" />
|
|
|
|
<TextView
|
|
android:id="@+id/time_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_margin="5dp"
|
|
android:background="@drawable/backgroud_panda_time"
|
|
android:gravity="center"
|
|
android:text="120S"
|
|
android:textColor="@color/white"
|
|
android:textSize="10sp"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="@+id/pd_pao"
|
|
app:layout_constraintEnd_toEndOf="@+id/pd_pao"
|
|
app:layout_constraintStart_toStartOf="@+id/pd_pao"
|
|
app:layout_constraintTop_toTopOf="@+id/pd_pao"
|
|
tools:visibility="gone" />
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/gift_image"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:padding="3dp"
|
|
android:src="@mipmap/ic_live_menu_gift"
|
|
app:layout_constraintDimensionRatio="1"
|
|
app:layout_constraintEnd_toStartOf="@+id/total_image"
|
|
app:layout_constraintStart_toEndOf="@+id/pd_pao"
|
|
app:layout_constraintTop_toTopOf="@+id/pd_pao"
|
|
app:layout_constraintBottom_toBottomOf="@+id/pd_pao"/>
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/total_image"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="5dp"
|
|
android:src="@mipmap/ic_live_menu_menu"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/gift_image"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<View
|
|
android:id="@+id/total_image_red_point"
|
|
android:layout_width="8dp"
|
|
android:layout_height="8dp"
|
|
android:background="@drawable/bg_red_point"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="@+id/total_image"
|
|
app:layout_constraintEnd_toEndOf="@+id/total_image"
|
|
app:layout_constraintHorizontal_bias="0.82"
|
|
app:layout_constraintStart_toStartOf="@+id/total_image"
|
|
app:layout_constraintTop_toTopOf="@+id/total_image"
|
|
app:layout_constraintVertical_bias="0.16"
|
|
tools:visibility="visible" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:gravity="center_vertical"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<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"
|
|
tools: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"
|
|
android:src="@mipmap/zg"
|
|
android:visibility="gone" />
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/btn_zg1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@id/btn_zg"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:background="@mipmap/img_bg" />
|
|
|
|
<pl.droidsonroids.gif.GifImageView
|
|
android:id="@+id/btn_hd"
|
|
android:layout_width="33dp"
|
|
android:layout_height="33dp"
|
|
android:adjustViewBounds="true"
|
|
android:src="@mipmap/play" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<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"
|
|
android:src="@mipmap/live_lw"
|
|
android:visibility="gone" />
|
|
|
|
<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"
|
|
android:src="@mipmap/live_user_more"
|
|
android:visibility="gone" />
|
|
|
|
|
|
<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"
|
|
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" />
|
|
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<!--整蛊-->
|
|
<ImageView
|
|
android:id="@+id/live_cheat"
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:src="@mipmap/icon_prank"
|
|
android:visibility="gone" />
|
|
<!--玩-->
|
|
<ImageView
|
|
android:id="@+id/live_play"
|
|
android:layout_width="27.2dp"
|
|
android:layout_height="27.2dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:src="@mipmap/live_icon_play"
|
|
android:visibility="gone" />
|
|
<!--新人特惠-->
|
|
<RelativeLayout
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginEnd="13dp"
|
|
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"
|
|
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>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="100dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="360dp">
|
|
|
|
<com.opensource.svgaplayer.SVGAImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
<include
|
|
android:id="@+id/station_horn_banner"
|
|
layout="@layout/view_whole_station_horn_layout"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout> |