Advertisement
Guest User

Untitled

a guest
Nov 9th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.00 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:padding="10dp">
  6. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:orientation="vertical"
  10. xmlns:android="http://schemas.android.com/apk/res/android">
  11.  
  12. <com.dueeeke.videoplayer.player.VideoView
  13. android:id="@+id/player"
  14. android:layout_width="match_parent"
  15. android:layout_height="250dp" />
  16.  
  17.  
  18. <LinearLayout
  19. android:orientation="horizontal"
  20. android:layout_width="match_parent"
  21. android:layout_height="50dp"
  22. android:layout_marginTop="10dp"
  23. >
  24.  
  25. <TextView
  26. android:id="@+id/offload"
  27. android:layout_height="match_parent"
  28. android:layout_width="0dp"
  29. android:layout_weight="1"
  30. android:layout_margin="8dp"
  31. android:textSize="18sp"
  32. android:background="@drawable/shape_corner"
  33. android:gravity="center"
  34. android:text="Offload: 0.00MB"
  35. />
  36. <TextView
  37. android:id="@+id/ratio"
  38. android:layout_height="match_parent"
  39. android:layout_width="0dp"
  40. android:layout_weight="1"
  41. android:layout_margin="8dp"
  42. android:textSize="18sp"
  43. android:background="@drawable/shape_corner"
  44. android:gravity="center"
  45. android:text="P2P Ratio: 0%"
  46. />
  47.  
  48. </LinearLayout>
  49.  
  50. <LinearLayout
  51. android:orientation="horizontal"
  52. android:layout_width="match_parent"
  53. android:layout_height="50dp"
  54. android:layout_marginTop="10dp"
  55. >
  56.  
  57. <TextView
  58. android:id="@+id/upload"
  59. android:layout_height="match_parent"
  60. android:layout_width="0dp"
  61. android:layout_weight="1"
  62. android:layout_margin="8dp"
  63. android:textSize="18sp"
  64. android:background="@drawable/shape_corner"
  65. android:gravity="center"
  66. android:text="Upload: 0.00MB"
  67. />
  68. <TextView
  69. android:id="@+id/connected"
  70. android:layout_height="match_parent"
  71. android:layout_width="0dp"
  72. android:layout_weight="1"
  73. android:layout_margin="8dp"
  74. android:textSize="18sp"
  75. android:background="@drawable/shape_corner"
  76. android:gravity="center"
  77. android:text="Connected: NO"
  78. />
  79.  
  80. </LinearLayout>
  81.  
  82. <LinearLayout
  83. android:orientation="horizontal"
  84. android:layout_width="match_parent"
  85. android:layout_height="50dp"
  86. android:layout_marginTop="10dp"
  87. >
  88.  
  89. <TextView
  90. android:id="@+id/peers"
  91. android:layout_height="match_parent"
  92. android:layout_width="0dp"
  93. android:layout_weight="1"
  94. android:layout_margin="8dp"
  95. android:textSize="18sp"
  96. android:background="@drawable/shape_corner"
  97. android:gravity="center"
  98. android:text="Peers: 0"
  99. />
  100. <TextView
  101. android:id="@+id/version"
  102. android:layout_height="match_parent"
  103. android:layout_width="0dp"
  104. android:layout_weight="1"
  105. android:layout_margin="8dp"
  106. android:textSize="18sp"
  107. android:background="@drawable/shape_corner"
  108. android:gravity="center"
  109. android:text="Version:"
  110. />
  111.  
  112. </LinearLayout>
  113.  
  114. <TextView
  115. android:id="@+id/peerId"
  116. android:layout_height="42dp"
  117. android:layout_width="match_parent"
  118. android:layout_margin="8dp"
  119. android:textSize="18sp"
  120. android:background="@drawable/shape_corner"
  121. android:gravity="center"
  122. android:text="Peer ID:"
  123. />
  124.  
  125. <LinearLayout
  126. android:orientation="horizontal"
  127. android:layout_width="match_parent"
  128. android:layout_height="60dp"
  129. android:layout_marginTop="10dp"
  130. >
  131.  
  132. <Button
  133. android:id="@+id/replay"
  134. android:layout_height="match_parent"
  135. android:layout_width="0dp"
  136. android:layout_weight="1"
  137. android:layout_margin="8dp"
  138. android:textSize="18sp"
  139. android:background="#00CD00"
  140. android:gravity="center"
  141. android:text="Replay"
  142. />
  143. <Button
  144. android:id="@+id/switcher"
  145. android:layout_height="match_parent"
  146. android:layout_width="0dp"
  147. android:layout_weight="1"
  148. android:layout_margin="8dp"
  149. android:textSize="18sp"
  150. android:background="#A020F0"
  151. android:gravity="center"
  152. android:text="Switch"
  153. />
  154.  
  155. </LinearLayout>
  156.  
  157. <LinearLayout
  158. android:orientation="horizontal"
  159. android:layout_width="match_parent"
  160. android:layout_height="60dp"
  161. android:layout_marginTop="10dp"
  162. >
  163.  
  164. <Button
  165. android:id="@+id/vod"
  166. android:layout_height="match_parent"
  167. android:layout_width="0dp"
  168. android:layout_weight="1"
  169. android:layout_margin="8dp"
  170. android:textSize="18sp"
  171. android:background="#87CEFA"
  172. android:gravity="center"
  173. android:text="VOD"
  174. />
  175. <Button
  176. android:id="@+id/live"
  177. android:layout_height="match_parent"
  178. android:layout_width="0dp"
  179. android:layout_weight="1"
  180. android:layout_margin="8dp"
  181. android:textSize="18sp"
  182. android:background="#FF7F00"
  183. android:gravity="center"
  184. android:text="Live"
  185. />
  186.  
  187. </LinearLayout>
  188.  
  189. </LinearLayout>
  190. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement