153 lines
5.1 KiB
XML
153 lines
5.1 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:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<com.tencent.rtmp.ui.TXCloudVideoView
|
||
|
android:id="@+id/camera_preview"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/dr_pk_view"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="130dp"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<com.tencent.rtmp.ui.TXCloudVideoView
|
||
|
android:id="@+id/dr1_preview"
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="125dp"
|
||
|
android:background="@mipmap/live_icon_vacancy" />
|
||
|
|
||
|
<com.tencent.rtmp.ui.TXCloudVideoView
|
||
|
android:id="@+id/dr2_preview"
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="125dp"
|
||
|
android:background="@mipmap/live_icon_vacancy" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<com.tencent.rtmp.ui.TXCloudVideoView
|
||
|
android:id="@+id/dr3_preview"
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="125dp"
|
||
|
android:background="@mipmap/live_icon_vacancy" />
|
||
|
|
||
|
<com.tencent.rtmp.ui.TXCloudVideoView
|
||
|
android:id="@+id/dr4_preview"
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="125dp"
|
||
|
android:background="@mipmap/live_icon_vacancy" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<com.tencent.rtmp.ui.TXCloudVideoView
|
||
|
android:id="@+id/camera_preview1"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/big_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/layout_surface"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:clickable="true"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<SurfaceView
|
||
|
android:id="@+id/surface_view"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/pk_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="270dp"
|
||
|
android:layout_marginTop="130dp">
|
||
|
|
||
|
<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" />
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<com.yunbao.live.custom.MyFrameLayout3
|
||
|
android:id="@+id/small_container"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:layout_alignParentBottom="true"
|
||
|
android:layout_marginBottom="120dp"
|
||
|
app:mfl3_ratio="0.25" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_close"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:layout_marginTop="120dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:background="@drawable/background_dedede"
|
||
|
android:paddingLeft="8dp"
|
||
|
android:paddingTop="5dp"
|
||
|
android:paddingRight="8dp"
|
||
|
android:paddingBottom="5dp"
|
||
|
android:text="結束連麥"
|
||
|
android:textColor="@color/color_white"
|
||
|
android:textSize="13sp"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/leave"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:scaleType="centerCrop"
|
||
|
android:src="@mipmap/zslk"
|
||
|
android:visibility="gone" />
|
||
|
</RelativeLayout>
|