avchat_surface_layout.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <LinearLayout
  6. android:id="@+id/large_size_preview"
  7. android:layout_width="fill_parent"
  8. android:layout_height="fill_parent"
  9. android:gravity="center"
  10. android:orientation="horizontal" />
  11. <TextView
  12. android:id="@+id/notificationLayout"
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:layout_gravity="center"
  16. android:gravity="center"
  17. android:shadowColor="@color/video_call_peer_close_cameral_text_shadow"
  18. android:shadowDy="1"
  19. android:shadowRadius="1"
  20. android:textColor="@color/video_call_peer_close_cameral_text_color"
  21. android:textSize="16sp"
  22. android:background="@drawable/avchat_call_bg" />
  23. <FrameLayout
  24. android:id="@+id/small_size_preview_layout"
  25. android:layout_width="64dp"
  26. android:layout_height="98dp"
  27. android:layout_gravity="right|top"
  28. android:layout_marginRight="16dp"
  29. android:layout_marginTop="18dp">
  30. <LinearLayout
  31. android:id="@+id/small_size_preview"
  32. android:layout_width="match_parent"
  33. android:layout_height="match_parent"
  34. android:background="@color/transparent"
  35. android:orientation="vertical"
  36. android:visibility="gone" />
  37. <ImageView
  38. android:id="@+id/smallSizePreviewCoverImg"
  39. android:layout_width="match_parent"
  40. android:layout_height="match_parent"
  41. android:scaleType="fitXY"
  42. android:src="@drawable/avchat_close_video_send"
  43. android:visibility="gone" />
  44. </FrameLayout>
  45. </FrameLayout>