98 lines
3.7 KiB
XML
98 lines
3.7 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="100dp">
|
||
|
|
||
|
<com.opensource.svgaplayer.SVGAImageView
|
||
|
android:id="@+id/svaga_bc"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/goto_room_view"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentEnd="true"
|
||
|
android:layout_marginTop="42dp"
|
||
|
android:layout_marginEnd="19dp"
|
||
|
android:background="@drawable/background_whole_station_horn"
|
||
|
android:paddingLeft="7dp"
|
||
|
android:paddingTop="3dp"
|
||
|
android:paddingRight="7dp"
|
||
|
android:paddingBottom="3dp"
|
||
|
android:text="@string/use_live"
|
||
|
android:textColor="#FFFEFEFE"
|
||
|
android:textSize="10dp" />
|
||
|
|
||
|
<ViewFlipper
|
||
|
android:id="@+id/viewflipper_banner"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginStart="19dp"
|
||
|
android:layout_marginTop="42dp"
|
||
|
android:layout_marginEnd="20dp"
|
||
|
android:layout_toStartOf="@+id/goto_room_view"
|
||
|
android:inAnimation="@anim/vice_screen_come_in"
|
||
|
android:outAnimation="@anim/vice_screen_come_out"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
<RelativeLayout
|
||
|
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="19dp"
|
||
|
android:layout_marginTop="42dp"
|
||
|
android:layout_marginEnd="20dp"
|
||
|
android:layout_toStartOf="@+id/goto_room_view"
|
||
|
android:animateLayoutChanges="true"
|
||
|
android:gravity="center_vertical"
|
||
|
android:visibility="visible">
|
||
|
|
||
|
<HorizontalScrollView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:scrollbars="none">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/context_layout"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/icon_img"
|
||
|
android:layout_width="52dp"
|
||
|
android:layout_height="20.5dp"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginStart="7dp"
|
||
|
android:src="@mipmap/img_chaohuang" />
|
||
|
|
||
|
<com.yunbao.common.views.weight.GradientColorTextView
|
||
|
android:id="@+id/rc_user_name"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginStart="7dp"
|
||
|
android:layout_toEndOf="@id/icon_img"
|
||
|
android:lines="1"
|
||
|
android:text="@string/live_hot_ruletext2"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/rc_user_text"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginStart="3dp"
|
||
|
android:layout_toEndOf="@id/rc_user_name"
|
||
|
android:lines="1"
|
||
|
android:text="@string/live_hot_ruletext22"
|
||
|
android:textColor="#FFFFFFFF"
|
||
|
android:textSize="12sp" />
|
||
|
</RelativeLayout>
|
||
|
</HorizontalScrollView>
|
||
|
|
||
|
|
||
|
</RelativeLayout>
|
||
|
</RelativeLayout>
|