472 lines
16 KiB
XML
472 lines
16 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"
|
|
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_gravity="bottom"
|
|
android:layout_alignParentBottom="true"
|
|
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">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:src="@drawable/live_turntable" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/lt_trickery"
|
|
android:layout_width="75dp"
|
|
android:layout_height="75dp"
|
|
android:layout_gravity="right"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="18dp"
|
|
android:background="@mipmap/img_buoy"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_trickery_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="9dp"
|
|
android:text="60"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/btn_event3"
|
|
android:layout_width="67dp"
|
|
android:layout_height="90dp"
|
|
android:layout_gravity="right"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="18dp"
|
|
android:gravity="center_horizontal"
|
|
android:background="@mipmap/live_mission_box"
|
|
android:visibility="gone"
|
|
android:orientation="vertical">
|
|
|
|
<com.ms.banner.Banner
|
|
android:id="@+id/banner3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_marginLeft="5dp"
|
|
app:delay_time="5000"
|
|
app:indicator_height="8dp"
|
|
app:indicator_width="8dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/btn_event1"
|
|
android:layout_width="68dp"
|
|
android:layout_height="68dp"
|
|
android:layout_gravity="right"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="18dp"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<com.ms.banner.Banner
|
|
android:id="@+id/banner1"
|
|
android:layout_width="68dp"
|
|
android:layout_height="68dp"
|
|
android:layout_marginBottom="5dp"
|
|
app:delay_time="5000"
|
|
app:indicator_height="8dp"
|
|
app:indicator_width="8dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- <ImageView-->
|
|
<!-- android:id="@+id/btn_event2"-->
|
|
<!-- android:layout_width="68dp"-->
|
|
<!-- android:layout_height="102dp"-->
|
|
<!-- android:layout_gravity="right"-->
|
|
<!-- android:layout_marginRight="10dp"-->
|
|
<!-- android:layout_marginBottom="20dp"-->
|
|
<!-- android:gravity="center_horizontal"-->
|
|
<!-- android:orientation="vertical"/>-->
|
|
|
|
<LinearLayout
|
|
android:id="@+id/btn_event2"
|
|
android:layout_width="58dp"
|
|
android:layout_height="80dp"
|
|
android:layout_gravity="right"
|
|
android:layout_marginRight="15dp"
|
|
android:layout_marginBottom="18dp"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<com.ms.banner.Banner
|
|
android:id="@+id/banner2"
|
|
android:layout_width="58dp"
|
|
android:layout_height="80dp"
|
|
android:layout_marginBottom="5dp"
|
|
app:delay_time="5000"
|
|
app:indicator_height="8dp"
|
|
app:indicator_width="8dp" />
|
|
|
|
</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>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/btn_event"
|
|
android:layout_width="68dp"
|
|
android:layout_height="68dp"
|
|
android:layout_gravity="right"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/img_event"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:src="@drawable/live_turntable" />
|
|
|
|
</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="20dp"
|
|
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: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>
|
|
|
|
|
|
<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">
|
|
|
|
<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>
|
|
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp">
|
|
|
|
<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"
|
|
android:src="@mipmap/zg" />
|
|
|
|
|
|
<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">
|
|
|
|
<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" />
|
|
|
|
<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" />
|
|
|
|
|
|
<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" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/msg_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@id/btn_more">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rt_msg"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/btn_msg"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
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>
|
|
|
|
<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"
|
|
android:layout_marginRight="5dp"
|
|
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" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<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" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="30dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginRight="15dp"
|
|
android:layout_toLeftOf="@+id/msg_view"
|
|
android:background="@drawable/bg_live_chat"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="5dp"
|
|
android:src="@mipmap/icon_live_msg" />
|
|
|
|
<TextView
|
|
android:id="@+id/et_input"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="30dp"
|
|
android:alpha="0.5"
|
|
android:gravity="center_vertical"
|
|
android:hint="@string/live_say_something"
|
|
android:singleLine="true"
|
|
android:textColor="@color/textColor"
|
|
android:textColorHint="@color/gray3"
|
|
android:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<com.opensource.svgaplayer.SVGAImageView
|
|
android:id="@+id/svga_new_user_gif"
|
|
android:layout_width="116dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginBottom="40dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_gravity="center_vertical"
|
|
app:autoPlay="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentRight="true" />
|
|
|
|
|
|
<com.opensource.svgaplayer.SVGAImageView
|
|
android:id="@+id/svga_new_user_double"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="40dp"
|
|
android:layout_gravity="center_vertical"
|
|
app:autoPlay="true"/>
|
|
|
|
|
|
<com.opensource.svgaplayer.SVGAImageView
|
|
android:id="@+id/svga_new_user_follow"
|
|
android:layout_width="116dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginTop="80dp"
|
|
android:layout_gravity="center_vertical"
|
|
app:autoPlay="true" />
|
|
|
|
</RelativeLayout>
|
|
</LinearLayout> |