mass_message_activity.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. <android.support.design.widget.AppBarLayout
  8. android:id="@+id/app_bar_layout"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:theme="@style/AppTheme.AppBarOverlay"
  12. app:elevation="0dp">
  13. <android.support.v7.widget.Toolbar
  14. android:id="@+id/toolbar"
  15. android:layout_width="match_parent"
  16. android:layout_height="?attr/actionBarSize"
  17. android:background="?attr/colorPrimary"
  18. app:titleTextAppearance="@style/Toolbar.TitleText">
  19. </android.support.v7.widget.Toolbar>
  20. </android.support.design.widget.AppBarLayout>
  21. <LinearLayout
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:orientation="horizontal">
  25. <TextView
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:text="帐号/聊天室id" />
  29. <EditText
  30. android:id="@+id/session_id"
  31. android:layout_width="150dp"
  32. android:layout_height="wrap_content" />
  33. </LinearLayout>
  34. <Button
  35. android:id="@+id/add_btn"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:text="@string/add" />
  39. <Button
  40. android:id="@+id/delete_btn"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:text="delete" />
  44. <Button
  45. android:id="@+id/clear_btn"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:text="clear" />
  49. <TextView
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:text="account log:" />
  53. <TextView
  54. android:id="@+id/account_log"
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content" />
  57. <LinearLayout
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:orientation="horizontal">
  61. <TextView
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:text="limit:" />
  65. <EditText
  66. android:id="@+id/number_edit"
  67. android:layout_width="150dp"
  68. android:layout_height="wrap_content"
  69. android:text="1000"
  70. android:inputType="number" />
  71. </LinearLayout>
  72. <LinearLayout
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:orientation="horizontal">
  76. <TextView
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content"
  79. android:text="时间间隔(ms):" />
  80. <EditText
  81. android:id="@+id/time_edit"
  82. android:layout_width="150dp"
  83. android:layout_height="wrap_content"
  84. android:text="0"
  85. android:inputType="number" />
  86. </LinearLayout>
  87. <Button
  88. android:id="@+id/save_to_local_btn"
  89. android:layout_width="wrap_content"
  90. android:layout_height="wrap_content"
  91. android:text="save to local" />
  92. <Button
  93. android:id="@+id/send_to_others_btn"
  94. android:layout_width="wrap_content"
  95. android:layout_height="wrap_content"
  96. android:text="send to others" />
  97. <Button
  98. android:id="@+id/stop_btn"
  99. android:layout_width="wrap_content"
  100. android:layout_height="wrap_content"
  101. android:text="stop" />
  102. </LinearLayout>