summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_gauge.xml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2014-12-06 19:25:51 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2014-12-06 19:25:51 +0100
commit76b17543bee2c38995fca07e21d5b271eddb7369 (patch)
tree7e3e8067a8327ffc5ab6ddca09da0989fd0db0f2 /app/src/main/res/layout/fragment_gauge.xml
parentbb59449fbcbb46ba018313c51150924e7aec3be0 (diff)
downloadfiken-display-android-master.tar.gz
fiken-display-android-master.tar.bz2
fiken-display-android-master.tar.xz
fiken-display-android-master.zip
o Moving out the executor so it becomes its own class.HEADmaster
o Adding seek bars to each gauge. Sending updates to the device.
Diffstat (limited to 'app/src/main/res/layout/fragment_gauge.xml')
-rw-r--r--app/src/main/res/layout/fragment_gauge.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_gauge.xml b/app/src/main/res/layout/fragment_gauge.xml
new file mode 100644
index 0000000..ff1df86
--- /dev/null
+++ b/app/src/main/res/layout/fragment_gauge.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:clickable="true"
+ android:focusable="true"
+ >
+
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="Gauge: XX"
+ android:id="@+id/gauge_title"
+ android:layout_gravity="center_horizontal"
+ android:gravity="start"/>
+
+ <SeekBar
+ style="?android:attr/progressBarStyleHorizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/gauge_seek_bar"
+ android:layout_gravity="center_horizontal"/>
+</LinearLayout> \ No newline at end of file