hj_custom_video.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="#000000">
  7. <ProgressBar
  8. android:id="@+id/hj_progress"
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:layout_centerInParent="true"
  12. android:indeterminate="false"
  13. android:indeterminateDrawable="@drawable/hj_progress"
  14. />
  15. <FrameLayout
  16. android:id="@+id/hj_surface_container"
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent">
  19. </FrameLayout>
  20. <ImageView
  21. android:id="@+id/hj_iv_volume"
  22. android:layout_width="25dp"
  23. android:layout_height="25dp"
  24. android:layout_marginLeft="20dp"
  25. android:layout_marginTop="10dp"
  26. android:src="@drawable/hj_unmute"
  27. />
  28. <ImageView
  29. android:id="@+id/hj_iv_start"
  30. android:layout_width="10dp"
  31. android:layout_height="10dp"
  32. android:visibility="invisible"
  33. />
  34. <ImageView
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_alignParentBottom="true"
  38. android:layout_alignParentRight="true"
  39. android:src="@drawable/hj_trade_logo"
  40. />
  41. </RelativeLayout>