Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. <RelativeLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5.  
  6. <LinearLayout
  7. android:id="@+id/peerView"
  8. android:orientation="horizontal"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:layout_centerInParent="true"/>
  12.  
  13. <RelativeLayout
  14. android:id="@+id/selfView"
  15. android:layout_width="@dimen/thumbnail_width"
  16. android:layout_height="@dimen/thumbnail_height"
  17. android:layout_marginLeft="20dp"
  18. android:layout_marginTop="20dp"/>
  19.  
  20. </RelativeLayout>
  21.  
  22. for (String id: surfaceViews.keySet()) {
  23. GLSurfaceView viewToAdd = surfaceViews.get(id);
  24.  
  25. if (id.equals(KEY_SELF)) {
  26. selfView.setVideoView(viewToAdd);
  27. }
  28. else {
  29. this.addPeerView(id, viewToAdd);
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement