Index: webrtc/examples/androidapp/res/layout/activity_call.xml |
diff --git a/webrtc/examples/androidapp/res/layout/activity_call.xml b/webrtc/examples/androidapp/res/layout/activity_call.xml |
index a18f758568c47ce43ee75974daa0c50369bfb142..5ccb3fafab63c2c0c3149d3bc078f6d101c0701c 100644 |
--- a/webrtc/examples/androidapp/res/layout/activity_call.xml |
+++ b/webrtc/examples/androidapp/res/layout/activity_call.xml |
@@ -6,10 +6,25 @@ |
android:layout_width="match_parent" |
android:layout_height="match_parent"> |
- <android.opengl.GLSurfaceView |
- android:id="@+id/glview_call" |
+ <org.appspot.apprtc.PercentFrameLayout |
+ android:id="@+id/remote_video_layout" |
android:layout_width="match_parent" |
- android:layout_height="match_parent" /> |
+ android:layout_height="match_parent"> |
+ <org.webrtc.SurfaceViewRenderer |
+ android:id="@+id/remote_video_view" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" /> |
+ </org.appspot.apprtc.PercentFrameLayout> |
+ |
+ <org.appspot.apprtc.PercentFrameLayout |
+ android:id="@+id/local_video_layout" |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent"> |
+ <org.webrtc.SurfaceViewRenderer |
+ android:id="@+id/local_video_view" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" /> |
+ </org.appspot.apprtc.PercentFrameLayout> |
<FrameLayout |
android:id="@+id/call_fragment_container" |