2022-07-18 15:31:45 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-11-30 09:44:37 +08:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-07-18 15:31:45 +08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/root"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:animateLayoutChanges="true"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_width="match_parent"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:layout_height="match_parent">
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
|
2022-12-28 17:51:35 +08:00
|
|
|
<SurfaceView
|
2022-07-18 15:31:45 +08:00
|
|
|
android:id="@+id/video_view"
|
|
|
|
android:layout_width="match_parent"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:layout_height="match_parent" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/leave"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:scaleType="centerCrop"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:src="@mipmap/zslk"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:visibility="gone" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/pk_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:layout_marginTop="@dimen/live_top">
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<com.yunbao.live.custom.MyFrameLayout4
|
|
|
|
android:id="@+id/left_container"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:layout_marginBottom="20dp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<com.yunbao.live.custom.MyFrameLayout4
|
|
|
|
android:id="@+id/right_container"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="right"
|
2022-10-17 10:13:17 +08:00
|
|
|
android:layout_marginBottom="20dp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<com.yunbao.live.custom.MyFrameLayout3
|
|
|
|
android:id="@+id/small_container"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_alignParentRight="true"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:layout_alignParentBottom="true"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_marginBottom="120dp"
|
2022-11-30 09:44:37 +08:00
|
|
|
app:mfl3_ratio="0.25" />
|
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/ry_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
|
2022-11-30 09:44:37 +08:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/cover"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop" />
|
|
|
|
|
2022-07-18 15:31:45 +08:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/loading"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:layout_marginTop="240dp"
|
|
|
|
android:layout_centerHorizontal="true"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:indeterminateBehavior="repeat"
|
|
|
|
android:indeterminateDrawable="@drawable/anim_loading"
|
|
|
|
android:indeterminateOnly="true"
|
2022-11-30 09:44:37 +08:00
|
|
|
android:visibility="invisible" />
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/loading2"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginTop="240dp"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:indeterminateBehavior="repeat"
|
|
|
|
android:indeterminateDrawable="@drawable/anim_loading"
|
|
|
|
android:indeterminateOnly="true"
|
|
|
|
android:visibility="invisible" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
</RelativeLayout>
|