pdlivexp/live/src/main/res/layout/view_live_push_ry.xml

209 lines
6.7 KiB
XML
Raw Normal View History

2022-07-18 15:31:45 +08:00
<?xml version="1.0" encoding="utf-8"?>
2022-12-10 16:20:13 +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:layout_width="match_parent"
2022-12-10 16:20:13 +08:00
android:layout_height="match_parent"
>
2022-07-18 15:31:45 +08:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
2022-12-10 16:20:13 +08:00
<FrameLayout
android:id="@+id/camera_preview"
2022-07-18 15:31:45 +08:00
android:layout_width="match_parent"
2022-12-10 16:20:13 +08:00
android:layout_height="match_parent"/>
2022-07-18 15:31:45 +08:00
<FrameLayout
android:id="@+id/camera_preview1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-12-10 16:20:13 +08:00
android:visibility="gone"/>
2022-07-18 15:31:45 +08:00
2022-12-10 16:20:13 +08:00
<LinearLayout android:id="@+id/dr_pk_view"
2022-07-18 15:31:45 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-12-10 16:20:13 +08:00
android:layout_toLeftOf="@+id/camera_preview"
2022-07-18 15:31:45 +08:00
android:layout_marginTop="130dp"
2022-12-10 16:20:13 +08:00
android:orientation="vertical">
2022-07-18 15:31:45 +08:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="horizontal">
<FrameLayout
android:id="@+id/dr1_preview"
2022-12-10 16:20:13 +08:00
android:layout_width="100dp"
2022-12-07 17:59:10 +08:00
android:layout_weight="1"
2022-12-10 16:20:13 +08:00
android:layout_height="match_parent"
android:background="@mipmap/live_icon_vacancy"/>
2022-07-18 15:31:45 +08:00
<FrameLayout
android:id="@+id/dr2_preview"
2022-12-10 16:20:13 +08:00
android:layout_width="100dp"
2022-12-07 17:59:10 +08:00
android:layout_weight="1"
2022-12-10 16:20:13 +08:00
android:layout_height="match_parent"
android:background="@mipmap/live_icon_vacancy"/>
2022-07-18 15:31:45 +08:00
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="horizontal">
<FrameLayout
android:id="@+id/dr3_preview"
2022-12-10 16:20:13 +08:00
android:layout_width="100dp"
2022-07-18 15:31:45 +08:00
android:layout_height="match_parent"
android:layout_weight="1"
2022-12-10 16:20:13 +08:00
android:background="@mipmap/live_icon_vacancy"/>
2022-07-18 15:31:45 +08:00
<FrameLayout
android:id="@+id/dr4_preview"
2022-12-10 16:20:13 +08:00
android:layout_width="100dp"
2022-07-18 15:31:45 +08:00
android:layout_height="match_parent"
android:layout_weight="1"
2022-12-10 16:20:13 +08:00
android:background="@mipmap/live_icon_vacancy"/>
2022-07-18 15:31:45 +08:00
</LinearLayout>
</LinearLayout>
2022-12-10 16:20:13 +08:00
2022-07-18 15:31:45 +08:00
</LinearLayout>
<FrameLayout
android:id="@+id/big_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
2022-12-10 16:20:13 +08:00
2022-07-18 15:31:45 +08:00
</FrameLayout>
<LinearLayout
2022-12-10 16:20:13 +08:00
android:visibility="gone"
2022-07-18 15:31:45 +08:00
android:id="@+id/layout_surface"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
2022-12-10 16:20:13 +08:00
android:orientation="vertical">
2022-07-18 15:31:45 +08:00
<SurfaceView
android:id="@+id/surface_view"
android:layout_width="match_parent"
2022-12-10 16:20:13 +08:00
android:layout_height="match_parent"
/>
2022-07-18 15:31:45 +08:00
</LinearLayout>
2022-12-29 15:17:34 +08:00
<LinearLayout
android:id="@+id/goto_room_view"
android:layout_width="wrap_content"
android:layout_height="27dp"
android:layout_alignParentRight="true"
2022-12-29 16:12:41 +08:00
android:layout_marginTop="122dp"
2022-12-29 15:17:34 +08:00
android:layout_marginRight="9dp"
2022-12-30 14:57:47 +08:00
android:visibility="gone"
2022-12-29 15:17:34 +08:00
android:background="@drawable/bg_live_other_ico"
android:gravity="center">
<RelativeLayout
android:layout_width="21dp"
android:layout_height="21dp"
android:layout_marginLeft="3dp"
android:gravity="center">
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/avatarOther"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/m_chu_xia"
app:riv_oval="true" />
</RelativeLayout>
<TextView
android:id="@+id/tv_avatarOther_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="2dp"
android:layout_marginRight="3dp"
android:maxLength="4"
android:maxLines="1"
android:text=""
android:textColor="@color/white"
android:textSize="12sp" />
</LinearLayout>
2022-07-18 15:31:45 +08:00
<FrameLayout
android:id="@+id/pk_container"
android:layout_width="match_parent"
android:layout_height="270dp"
2022-12-10 16:20:13 +08:00
android:layout_marginTop="130dp"
>
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-12-10 16:20:13 +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-12-10 16:20:13 +08:00
android:layout_marginBottom="20dp"
/>
2022-07-18 15:31:45 +08:00
</FrameLayout>
2022-12-10 16:20:13 +08:00
<TextView android:id="@+id/btn_close"
2022-07-18 15:31:45 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-12-07 17:59:10 +08:00
android:paddingTop="5dp"
android:paddingBottom="5dp"
2022-12-10 16:20:13 +08:00
android:paddingLeft="8dp"
android:paddingRight="8dp"
2022-12-29 16:12:41 +08:00
android:layout_marginTop="400dp"
2022-12-10 16:20:13 +08:00
android:layout_marginRight="8dp"
android:layout_alignParentRight="true"
2022-07-18 15:31:45 +08:00
android:text="結束連麥"
2022-12-07 17:59:10 +08:00
android:textSize="13sp"
2022-12-10 16:20:13 +08:00
android:visibility="gone"
2022-12-29 15:17:34 +08:00
android:textColor="@color/color_white"
2022-12-10 16:20:13 +08:00
android:background="@drawable/background_dedede"/>
2022-07-18 15:31:45 +08:00
2022-12-29 15:17:34 +08:00
<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"
/>
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"
android:src="@mipmap/zslk"
2022-12-10 16:20:13 +08:00
android:visibility="gone"
android:scaleType="centerCrop"/>
2022-07-18 15:31:45 +08:00
</RelativeLayout>