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

Side by Side Diff: webrtc/examples/androidapp/res/layout/activity_call.xml

Issue 2682943006: Add support for swapping feeds in Android AppRTCMobile. (Closed)
Patch Set: Little fixes. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 2
3 <RelativeLayout 3 <merge xmlns:android="http://schemas.android.com/apk/res/android">
4 xmlns:android="http://schemas.android.com/apk/res/android"
5 android:layout_width="match_parent"
6 android:layout_height="match_parent">
7 4
8 <org.appspot.apprtc.PercentFrameLayout 5 <org.webrtc.SurfaceViewRenderer
9 android:id="@+id/remote_video_layout" 6 android:id="@+id/fullscreen_video_view"
10 android:layout_width="match_parent" 7 android:layout_width="match_parent"
11 android:layout_height="match_parent"> 8 android:layout_height="match_parent" />
12 <org.webrtc.SurfaceViewRenderer
13 android:id="@+id/remote_video_view"
14 android:layout_width="wrap_content"
15 android:layout_height="wrap_content" />
16 </org.appspot.apprtc.PercentFrameLayout>
17 9
18 <org.appspot.apprtc.PercentFrameLayout 10 <org.webrtc.SurfaceViewRenderer
19 android:id="@+id/local_video_layout" 11 android:id="@+id/pip_video_view"
20 android:layout_width="match_parent" 12 android:layout_height="144dp"
21 android:layout_height="match_parent"> 13 android:layout_width="wrap_content"
22 <org.webrtc.SurfaceViewRenderer 14 android:layout_gravity="bottom|end"
23 android:id="@+id/local_video_view" 15 android:layout_margin="16dp"/>
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content" />
26 </org.appspot.apprtc.PercentFrameLayout>
27 16
28 <FrameLayout 17 <FrameLayout
29 android:id="@+id/call_fragment_container" 18 android:id="@+id/call_fragment_container"
30 android:layout_width="match_parent" 19 android:layout_width="match_parent"
31 android:layout_height="match_parent" /> 20 android:layout_height="match_parent" />
32 <FrameLayout 21 <FrameLayout
33 android:id="@+id/hud_fragment_container" 22 android:id="@+id/hud_fragment_container"
34 android:layout_width="match_parent" 23 android:layout_width="match_parent"
35 android:layout_height="match_parent" /> 24 android:layout_height="match_parent" />
36 25
37 </RelativeLayout> 26 </merge>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698