view_live_push_tx.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. >
  8. <FrameLayout
  9. android:id="@+id/big_container"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent">
  12. <TextureView
  13. android:id="@+id/camera_preview"
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. />
  17. </FrameLayout>
  18. <!-- <FrameLayout-->
  19. <!-- android:id="@+id/pk_container"-->
  20. <!-- android:layout_width="match_parent"-->
  21. <!-- android:layout_height="270dp"-->
  22. <!-- android:layout_marginTop="130dp"-->
  23. <!-- >-->
  24. <!-- <com.yunbao.live.custom.MyFrameLayout4-->
  25. <!-- android:id="@+id/left_container"-->
  26. <!-- android:layout_width="0dp"-->
  27. <!-- android:layout_height="match_parent"-->
  28. <!-- android:layout_marginBottom="20dp"-->
  29. <!-- />-->
  30. <!-- <com.yunbao.live.custom.MyFrameLayout4-->
  31. <!-- android:id="@+id/right_container"-->
  32. <!-- android:layout_width="0dp"-->
  33. <!-- android:layout_height="match_parent"-->
  34. <!-- android:layout_gravity="right"-->
  35. <!-- android:layout_marginBottom="20dp"-->
  36. <!-- />-->
  37. <!-- </FrameLayout>-->
  38. <LinearLayout
  39. android:id="@+id/pk_container"
  40. android:layout_width="match_parent"
  41. android:layout_height="500dp"
  42. android:layout_marginTop="130dp"
  43. android:orientation="vertical"
  44. >
  45. <LinearLayout
  46. android:layout_width="match_parent"
  47. android:layout_height="250dp"
  48. android:orientation="horizontal">
  49. <com.yunbao.live.custom.MyFrameLayout4
  50. android:id="@+id/left_container"
  51. android:layout_width="0dp"
  52. android:layout_height="match_parent"
  53. android:layout_weight="1"
  54. />
  55. <com.yunbao.live.custom.MyFrameLayout4
  56. android:id="@+id/right_container"
  57. android:layout_width="0dp"
  58. android:layout_height="match_parent"
  59. android:layout_weight="1"
  60. />
  61. </LinearLayout>
  62. <com.yunbao.live.custom.MyFrameLayout4
  63. android:id="@+id/bottom_right_container"
  64. android:layout_width="match_parent"
  65. android:layout_gravity="center_horizontal"
  66. android:layout_height="250dp"
  67. />
  68. </LinearLayout>
  69. <com.yunbao.live.custom.MyFrameLayout3
  70. android:id="@+id/small_container"
  71. android:layout_width="0dp"
  72. android:layout_height="0dp"
  73. android:layout_alignParentBottom="true"
  74. android:layout_alignParentRight="true"
  75. android:layout_marginBottom="120dp"
  76. app:mfl3_ratio="0.25"
  77. />
  78. </RelativeLayout>