aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_device.xml
blob: 1364066da95ff86cbfff9a69904e3bbbe03e6cab (plain)
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
<?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"
	android:padding="24dp"
	android:background="#1e1e2f">

	<TextView
		android:id="@+id/deviceStatusText"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:textSize="18sp"/>

	<Button
		android:id="@+id/syncTimeButton"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginTop="16dp"
		android:text="Sync Time (syncTime)"/>

	<Button
		android:id="@+id/findBandButton"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginTop="16dp"
		android:text="Find Watch (switchFindBand 0x01)"/>

	<Button
		android:id="@+id/stopFindBandButton"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginTop="16dp"
		android:text="Stop Finding Watch (switchFindBand 0x00)"/>

	<Button
		android:id="@+id/configRealTimeMeasureHeartRateButton"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginTop="16dp"
		android:text="Measure Heart Rate (configRealTimeMeasure type=0x00 start=false)"/>

	<Button
		android:id="@+id/stopConfigRealTimeMeasureHeartRateButton"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginTop="16dp"
		android:text="Stop Measuring Heart Rate (configRealTimeMeasure type=0x00 start=false)"/>
</LinearLayout>