123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:elevation="0dp">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- app:titleTextAppearance="@style/Toolbar.TitleText">
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.AppBarLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="帐号/聊天室id" />
- <EditText
- android:id="@+id/session_id"
- android:layout_width="150dp"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <Button
- android:id="@+id/add_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/add" />
- <Button
- android:id="@+id/delete_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="delete" />
- <Button
- android:id="@+id/clear_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="clear" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="account log:" />
- <TextView
- android:id="@+id/account_log"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="limit:" />
- <EditText
- android:id="@+id/number_edit"
- android:layout_width="150dp"
- android:layout_height="wrap_content"
- android:text="1000"
- android:inputType="number" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="时间间隔(ms):" />
- <EditText
- android:id="@+id/time_edit"
- android:layout_width="150dp"
- android:layout_height="wrap_content"
- android:text="0"
- android:inputType="number" />
- </LinearLayout>
- <Button
- android:id="@+id/save_to_local_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="save to local" />
- <Button
- android:id="@+id/send_to_others_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="send to others" />
- <Button
- android:id="@+id/stop_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="stop" />
- </LinearLayout>
|