lzw
2024-11-04 dd257d5d6ab766917c1fea03cf109b07797169c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
<LinearLayout
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:layout_height="wrap_content">
 
    <Button
        android:id="@+id/bt_register_acc"
        android:layout_width="match_parent"
        android:text="注册acc监听"
        android:layout_height="wrap_content"/>
 
    <Button
        android:id="@+id/bt_get_acc"
        android:layout_width="match_parent"
        android:text="获取acc值"
        android:layout_height="wrap_content"/>
 
    <Button
        android:id="@+id/bt_register_power_down"
        android:layout_width="match_parent"
        android:text="注册掉电监听"
        android:layout_height="wrap_content"/>
 
    <Button
        android:id="@+id/bt_get_power_down"
        android:layout_width="match_parent"
        android:text="获取掉电值"
        android:layout_height="wrap_content"/>
 
 
    <Button
        android:id="@+id/bt_get_pulse"
        android:layout_width="match_parent"
        android:text="获取脉冲值"
        android:layout_height="wrap_content"/>
 
    <TextView
        android:id="@+id/tv_pilse_count"
        android:layout_marginTop="100dp"
        android:textSize="20sp"
        android:gravity="center"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>
 
</LinearLayout>
 
</ScrollView>