fix: 修复SurfaceViewRenderer显示画面不全

This commit is contained in:
2026-07-14 00:28:56 +08:00
parent b2af050e5d
commit 86eaec3370
2 changed files with 66 additions and 2 deletions

View File

@@ -91,6 +91,7 @@
<!-- 控制面板(连接后显示) -->
<FrameLayout
android:id="@+id/control_panel"
android:background="#000000"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
@@ -99,13 +100,15 @@
<org.webrtc.SurfaceViewRenderer
android:id="@+id/remote_video_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent"
android:layout_gravity="center" />
<!-- 触摸控制层(覆盖在视频上方) -->
<com.tt.controller.view.RemoteTouchView
android:id="@+id/touch_overlay"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:background="@android:color/transparent" />
<!-- 顶部状态栏 -->