area_groups_list_fragment.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_height="match_parent"
  4. android:layout_width="wrap_content"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:fitsSystemWindows="false">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:background="@color/grey_light_light"
  11. android:orientation="vertical">
  12. <TextView
  13. android:id="@+id/area_groups_serachbar"
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:background="@color/grey_light"
  17. android:gravity="center"
  18. android:text="请输入群名字"
  19. android:visibility="gone"/>
  20. <android.support.v7.widget.RecyclerView
  21. android:id="@+id/area_groups_recyclerview"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:background="@color/white" />
  25. <View style="@style/horizontal_light_thin_divider" />
  26. <LinearLayout
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:background="@color/white"
  30. android:gravity="center_vertical"
  31. android:orientation="horizontal"
  32. android:padding="10dp">
  33. <ImageView
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:src="@drawable/ico_01_more" />
  37. <TextView
  38. android:id="@+id/area_groups_more_rooms_tv"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_marginLeft="10dp"
  42. android:layout_marginStart="10dp"
  43. android:text="更多地区房间"
  44. android:textColor="@color/grey_light" />
  45. </LinearLayout>
  46. <View style="@style/horizontal_light_thin_divider" />
  47. <View
  48. style="@style/horizontal_light_thin_divider"
  49. android:layout_marginTop="20dp" />
  50. <LinearLayout
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:background="@color/white"
  54. android:gravity="center_vertical"
  55. android:orientation="horizontal"
  56. android:padding="10dp">
  57. <ImageView
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:src="@drawable/ico_01_fujinqun" />
  61. <TextView
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_marginLeft="10dp"
  65. android:layout_marginStart="10dp"
  66. android:text="附近群" />
  67. <TextView
  68. android:layout_width="match_parent"
  69. android:layout_height="wrap_content"
  70. android:gravity="end"
  71. android:text="用户创建聊天室" />
  72. </LinearLayout>
  73. <View style="@style/horizontal_light_thin_divider" />
  74. <TextView
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:background="@color/white"
  78. android:padding="10dp"
  79. android:text="最近活跃的群" />
  80. <View style="@style/horizontal_light_thin_divider" />
  81. <android.support.v7.widget.RecyclerView
  82. android:id="@+id/area_groups_nearby_recyclerview"
  83. android:layout_width="match_parent"
  84. android:layout_height="400dp"
  85. android:background="@color/white" />
  86. <View style="@style/horizontal_light_thin_divider"
  87. android:layout_marginTop="30dp"/>
  88. </LinearLayout>
  89. </ScrollView>