diff options
Diffstat (limited to 'app/src/main/res/layout/activity_device.xml')
| -rw-r--r-- | app/src/main/res/layout/activity_device.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_device.xml b/app/src/main/res/layout/activity_device.xml new file mode 100644 index 0000000..1364066 --- /dev/null +++ b/app/src/main/res/layout/activity_device.xml @@ -0,0 +1,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> |
