aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_device.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/fragment_device.xml')
-rw-r--r--app/src/main/res/layout/fragment_device.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_device.xml b/app/src/main/res/layout/fragment_device.xml
new file mode 100644
index 0000000..e6a2f25
--- /dev/null
+++ b/app/src/main/res/layout/fragment_device.xml
@@ -0,0 +1,40 @@
+<?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"
+ android:clickable="true">
+
+ <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"/>
+
+ <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"/>
+
+ <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"/>
+
+ <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"/>
+
+</RelativeLayout>