fragment_find.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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. <com.zhpan.bannerview.BannerViewPager
  7. android:id="@+id/banner_view"
  8. android:layout_width="match_parent"
  9. android:layout_height="180dp"
  10. android:layout_marginTop="20dp"
  11. app:bvp_page_style="multi_page" />
  12. <TextView
  13. android:id="@+id/tv_page_style"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:layout_below="@id/banner_view"
  17. android:layout_marginStart="10dp"
  18. android:layout_marginTop="10dp"
  19. android:text="@string/text_page_style"
  20. android:textColor="#000000"
  21. android:textSize="18sp"
  22. android:textStyle="bold" />
  23. <RadioGroup
  24. android:id="@+id/rg_page_style"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:layout_below="@id/tv_page_style"
  28. android:padding="15dp">
  29. <RadioButton
  30. android:id="@+id/rb_multi_page"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_marginEnd="15dp"
  34. android:text="MULTI_PAGE" />
  35. <RadioButton
  36. android:id="@+id/rb_multi_page_scale"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="15dp"
  40. android:text="MULTI_PAGE_SCALE" />
  41. <RadioButton
  42. android:id="@+id/rb_multi_page_overlap"
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:layout_marginTop="15dp"
  46. android:text="MULTI_PAGE_OVERLAP" />
  47. <RadioButton
  48. android:id="@+id/rb_qq_music_style"
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:layout_marginTop="15dp"
  52. android:text="QQ Music Banner Style" />
  53. </RadioGroup>
  54. </RelativeLayout>