window_setting.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. android:orientation="vertical">
  6. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:layout_margin="20dp"
  10. android:orientation="horizontal">
  11. <LinearLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content">
  14. <TextView
  15. android:layout_width="0dp"
  16. android:layout_height="wrap_content"
  17. android:layout_weight="1"
  18. android:gravity="center"
  19. android:text="选择播放器:"
  20. android:textColor="@android:color/black" />
  21. <LinearLayout
  22. android:layout_width="0dp"
  23. android:layout_height="match_parent"
  24. android:layout_weight="2"
  25. android:orientation="horizontal">
  26. <RadioGroup
  27. android:id="@+id/setting_rg"
  28. android:layout_width="match_parent"
  29. android:layout_height="match_parent"
  30. android:layout_gravity="center"
  31. android:orientation="horizontal">
  32. <RadioButton
  33. android:id="@+id/setting_rg_video"
  34. android:layout_width="wrap_content"
  35. android:layout_height="match_parent"
  36. android:focusable="true"
  37. android:text="默认播放器"
  38. android:textColor="@android:color/black" />
  39. <RadioButton
  40. android:id="@+id/setting_rg_ijk"
  41. android:layout_width="wrap_content"
  42. android:layout_height="match_parent"
  43. android:layout_marginLeft="20dp"
  44. android:focusable="true"
  45. android:text="IJKPlayer播放器"
  46. android:textColor="@android:color/black" />
  47. </RadioGroup>
  48. </LinearLayout>
  49. </LinearLayout>
  50. </LinearLayout>
  51. </FrameLayout>