Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:id="@+id/peerView"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerInParent="true"/>
- <RelativeLayout
- android:id="@+id/selfView"
- android:layout_width="@dimen/thumbnail_width"
- android:layout_height="@dimen/thumbnail_height"
- android:layout_marginLeft="20dp"
- android:layout_marginTop="20dp"/>
- </RelativeLayout>
- for (String id: surfaceViews.keySet()) {
- GLSurfaceView viewToAdd = surfaceViews.get(id);
- if (id.equals(KEY_SELF)) {
- selfView.setVideoView(viewToAdd);
- }
- else {
- this.addPeerView(id, viewToAdd);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement