area_group_create_group.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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.sheishuo.app.common.views.BaseToolbar
  8. android:id="@+id/toolbar"
  9. style="@style/fullToolbarStyle"
  10. android:layout_width="match_parent"
  11. android:layout_height="@dimen/action_bar_height"/>
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:orientation="vertical"
  16. android:padding="8dp">
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:orientation="horizontal"
  21. android:padding="8dp">
  22. <TextView
  23. android:layout_width="wrap_content"
  24. android:layout_height="match_parent"
  25. android:gravity="center"
  26. android:text="群头像"
  27. android:textSize="18sp" />
  28. <com.netease.nim.uikit.common.ui.imageview.HeadImageView
  29. android:id="@+id/create_group_avatar"
  30. android:layout_width="48dp"
  31. android:layout_height="48dp"
  32. android:src="@drawable/ico_add_grey"
  33. android:layout_marginStart="8dp"
  34. android:layout_marginLeft="8dp" />
  35. </LinearLayout>
  36. <android.support.design.widget.TextInputLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:hint="群昵称"
  40. android:padding="8dp">
  41. <EditText
  42. android:id="@+id/create_group_name"
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content" />
  45. </android.support.design.widget.TextInputLayout>
  46. <android.support.design.widget.TextInputLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:padding="8dp">
  50. <EditText
  51. android:id="@+id/create_group_announcement"
  52. android:layout_width="match_parent"
  53. android:layout_height="128dp"
  54. android:gravity="start"
  55. android:hint="群简介" />
  56. </android.support.design.widget.TextInputLayout>
  57. <TextView
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:padding="8dp"
  61. android:text="群聊成员" />
  62. <HorizontalScrollView
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:padding="8dp">
  66. <LinearLayout
  67. android:id="@+id/create_group_members_layout"
  68. android:layout_width="wrap_content"
  69. android:layout_height="match_parent">
  70. <com.netease.nim.uikit.common.ui.imageview.HeadImageView
  71. android:id="@+id/create_group_add_member"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:src="@drawable/add_group_members" />
  75. </LinearLayout>
  76. </HorizontalScrollView>
  77. <Button
  78. android:id="@+id/create_group_btn"
  79. android:layout_width="match_parent"
  80. android:layout_height="wrap_content"
  81. android:background="@drawable/btn2_selector"
  82. android:text="创建群组"
  83. android:textColor="@color/white"
  84. android:textStyle="bold"
  85. android:layout_marginTop="8dp"/>
  86. </LinearLayout>
  87. </LinearLayout>