aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/listitem_device.xml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-01-04 23:48:53 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-01-04 23:48:53 +0100
commit4a2ca2d94c827566f8682e8dbd6fbdf17d70b4dd (patch)
tree10c9fe3e9b3c829cfc675d3184ce122964441fb5 /app/src/main/res/layout/listitem_device.xml
parent31fc64bec1c5286c27bdc1f683d037ae0e91418d (diff)
downloadio.trygvis.soilmoisture-android-4a2ca2d94c827566f8682e8dbd6fbdf17d70b4dd.tar.gz
io.trygvis.soilmoisture-android-4a2ca2d94c827566f8682e8dbd6fbdf17d70b4dd.tar.bz2
io.trygvis.soilmoisture-android-4a2ca2d94c827566f8682e8dbd6fbdf17d70b4dd.tar.xz
io.trygvis.soilmoisture-android-4a2ca2d94c827566f8682e8dbd6fbdf17d70b4dd.zip
o Adding a way to prepend callbacks on the promise's queue. Needed for devices that give you [disconnect, connect] events when connecting. Yay.
o Reading meta data from the Soil Moisture device.
Diffstat (limited to 'app/src/main/res/layout/listitem_device.xml')
-rw-r--r--app/src/main/res/layout/listitem_device.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/res/layout/listitem_device.xml b/app/src/main/res/layout/listitem_device.xml
index 0904d94..44021d9 100644
--- a/app/src/main/res/layout/listitem_device.xml
+++ b/app/src/main/res/layout/listitem_device.xml
@@ -31,6 +31,15 @@
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"