123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout
-
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
-
- <Button
- android:id="@+id/btn_slow"
- android:text="慢数据"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <Button
- android:id="@+id/btn_fat"
- android:text="快数据"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <Button
- android:id="@+id/btn_history"
- android:text="获取历史"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <EditText
- android:id="@+id/et_history"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
-
- <Button
- android:id="@+id/btn_show_history"
- android:text="记录"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-
- <Button
- android:id="@+id/btn_hear"
- android:text="心跳"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <Button
- android:id="@+id/btn_clear"
- android:text="清屏"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <TextView
- android:id="@+id/tv_result"
-
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-
-
- </LinearLayout>
- <ListView
-
- android:id="@+id/listView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
-
- <ListView
- android:visibility="gone"
- android:id="@+id/list_view_history"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- </LinearLayout>
|