1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- tools:ignore is needed because lint thinks this can be replaced with a merge. Replacing this 4 with a merge causes the fullscreen SurfaceView not to be centered. --> 5<FrameLayout 6 xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:tools="http://schemas.android.com/tools" 8 android:layout_width="match_parent" 9 android:layout_height="match_parent" 10 tools:ignore="MergeRootFrame"> 11 12 <org.webrtc.SurfaceViewRenderer 13 android:id="@+id/fullscreen_video_view" 14 android:layout_width="wrap_content" 15 android:layout_height="wrap_content" 16 android:layout_gravity="center" /> 17 18 <org.webrtc.SurfaceViewRenderer 19 android:id="@+id/pip_video_view" 20 android:layout_height="144dp" 21 android:layout_width="wrap_content" 22 android:layout_gravity="bottom|end" 23 android:layout_margin="16dp"/> 24 25 <FrameLayout 26 android:id="@+id/call_fragment_container" 27 android:layout_width="match_parent" 28 android:layout_height="match_parent" /> 29 <FrameLayout 30 android:id="@+id/hud_fragment_container" 31 android:layout_width="match_parent" 32 android:layout_height="match_parent" /> 33 34</FrameLayout> 35