aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_main_sensor.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/fragment_main_sensor.xml')
-rw-r--r--app/src/main/res/layout/fragment_main_sensor.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_main_sensor.xml b/app/src/main/res/layout/fragment_main_sensor.xml
new file mode 100644
index 0000000..157dcc2
--- /dev/null
+++ b/app/src/main/res/layout/fragment_main_sensor.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="10dp"
+ android:id="@+id/status_bar"
+ android:layout_alignParentEnd="true"
+ android:layout_marginTop="0dp"
+ android:background="@color/red"/>
+
+ <TextView
+ android:id="@+id/description"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/status_bar"/>
+
+ <ProgressBar
+ style="?android:attr/progressBarStyleHorizontal"
+ android:id="@+id/sensor_progress"
+ android:layout_width="fill_parent"
+ android:layout_height="20dp"
+ android:layout_below="@id/description"/>
+
+</RelativeLayout>