fragment_indicator.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7. <com.zhpan.bannerview.BannerViewPager
  8. android:id="@+id/banner_view"
  9. android:layout_width="match_parent"
  10. android:layout_height="@dimen/dp_180"
  11. android:layout_margin="@dimen/dp_10"
  12. app:bvp_indicator_visibility="visible"
  13. app:bvp_round_corner="@dimen/dp_8" />
  14. <TextView
  15. android:id="@+id/tv_page_style"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_marginStart="@dimen/dp_10"
  19. android:layout_marginTop="@dimen/dp_10"
  20. android:text="@string/text_indicator_style"
  21. android:textColor="#000000"
  22. android:textSize="@dimen/sp_18"
  23. android:textStyle="bold" />
  24. <RadioGroup
  25. android:id="@+id/rg_indicator_style"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:orientation="vertical"
  29. android:padding="@dimen/dp_15">
  30. <RadioButton
  31. android:id="@+id/rb_circle"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_marginEnd="15dp"
  35. android:layout_marginBottom="@dimen/dp_10"
  36. android:text="Circle"
  37. android:textSize="@dimen/sp_16" />
  38. <RadioButton
  39. android:id="@+id/rb_dash"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_marginEnd="15dp"
  43. android:layout_marginBottom="@dimen/dp_10"
  44. android:text="Dash"
  45. android:textSize="@dimen/sp_16" />
  46. <RadioButton
  47. android:id="@+id/rb_round_rect"
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:layout_marginEnd="15dp"
  51. android:layout_marginBottom="@dimen/dp_10"
  52. android:text="ROUND_RECT"
  53. android:textSize="@dimen/sp_16" />
  54. <RadioButton
  55. android:id="@+id/rb_tmall"
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_marginEnd="15dp"
  59. android:layout_marginBottom="@dimen/dp_10"
  60. android:text="Tmall Indicator Style"
  61. android:textSize="@dimen/sp_16" />
  62. </RadioGroup>
  63. </LinearLayout>