85 lines
2.5 KiB
XML
85 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
|
|
|
|
<com.tencent.rtmp.ui.TXCloudVideoView
|
|
android:id="@+id/video_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/leave"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@mipmap/zslk"
|
|
android:visibility="gone"
|
|
android:scaleType="centerCrop"/>
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/pk_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/live_top"
|
|
>
|
|
|
|
<com.yunbao.live.custom.MyFrameLayout4
|
|
android:id="@+id/left_container"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="20dp"
|
|
/>
|
|
|
|
<com.yunbao.live.custom.MyFrameLayout4
|
|
android:id="@+id/right_container"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="right"
|
|
android:layout_marginBottom="20dp"
|
|
/>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<com.yunbao.live.custom.MyFrameLayout3
|
|
android:id="@+id/small_container"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginBottom="120dp"
|
|
app:mfl3_ratio="0.25"
|
|
/>
|
|
|
|
|
|
<ProgressBar
|
|
android:id="@+id/loading"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_centerInParent="true"
|
|
android:indeterminateBehavior="repeat"
|
|
android:indeterminateDrawable="@drawable/anim_loading"
|
|
android:indeterminateOnly="true"
|
|
android:visibility="invisible"
|
|
/>
|
|
|
|
<ImageView
|
|
android:id="@+id/cover"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
/>
|
|
|
|
|
|
<FrameLayout android:id="@+id/ry_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
</RelativeLayout> |