aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/listitem_device.xml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-01-11 12:28:55 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-01-11 12:28:55 +0100
commit17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52 (patch)
tree20c2c99e710fd1db438a49029177552204a63591 /app/src/main/res/layout/listitem_device.xml
parent4a2ca2d94c827566f8682e8dbd6fbdf17d70b4dd (diff)
downloadio.trygvis.soilmoisture-android-17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52.tar.gz
io.trygvis.soilmoisture-android-17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52.tar.bz2
io.trygvis.soilmoisture-android-17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52.tar.xz
io.trygvis.soilmoisture-android-17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52.zip
o Reading values from the soil sensor.
o Rewrote the database schema to match the new device+sensors model. o Storing samples in the database. o To be able to reuse BT callbacks, added a way to always to directly to the next step instead of waiting for an event.
Diffstat (limited to 'app/src/main/res/layout/listitem_device.xml')
-rw-r--r--app/src/main/res/layout/listitem_device.xml67
1 files changed, 0 insertions, 67 deletions
diff --git a/app/src/main/res/layout/listitem_device.xml b/app/src/main/res/layout/listitem_device.xml
deleted file mode 100644
index 44021d9..0000000
--- a/app/src/main/res/layout/listitem_device.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<?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:id="@+id/device_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="24sp"
- android:layout_alignParentTop="true"
- android:layout_marginTop="0dp"
- android:layout_toStartOf="@+id/spacer"/>
-
- <TextView
- android:id="@+id/device_address"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="12sp"
- android:layout_below="@+id/device_name"
- android:layout_alignParentStart="true"
- android:layout_toStartOf="@+id/spacer"/>
-
- <TextView
- android:id="@+id/device_rssi"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="12sp"
- android:layout_below="@+id/device_address"
- android:layout_alignParentStart="true"
- android:layout_toStartOf="@+id/spacer"/>
-
- <TextView
- android:id="@+id/device_info"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="12sp"
- android:layout_below="@+id/device_rssi"
- android:layout_alignParentStart="true"
- android:layout_toStartOf="@+id/spacer"/>
-
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:id="@+id/spacer"
- android:layout_alignParentEnd="true"
- android:layout_alignParentTop="true"
- android:layout_centerInParent="true">
-
- <Button
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:text="@string/connect"
- android:id="@+id/button_connect"
- />
-
- <ProgressBar
- style="?android:attr/progressBarStyleLarge"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/device_spinner"
- android:visibility="gone"/>
-
- </LinearLayout>
-
-</RelativeLayout>