area_groups_list_fragment.xml 3.8 KB

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