Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(994)

Unified Diff: webrtc/examples/androidapp/res/layout/activity_call.xml

Issue 1356603004: Enable SurfaceViewRenderer for AppRTCDemo (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..e4fd27253501186e009d0480b7ad68753521ae2b 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"
perkj_webrtc 2015/09/21 15:03:53 indentation
magjed_webrtc 2015/09/22 07:15:46 Done.
+ 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"

Powered by Google App Engine
This is Rietveld 408576698