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

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

Issue 1257043004: AppRTCDemo: Render each video in a separate SurfaceView (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Change license header for PercentFrameLayout.java Created 5 years, 4 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
« no previous file with comments | « talk/libjingle.gyp ('k') | webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « talk/libjingle.gyp ('k') | webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698