Checking in LEDE GUI for device registration; this was ported from the implementation...
[iot2.git] / others / lede-gui / src / main / res / layout / activity_list.xml
diff --git a/others/lede-gui/src/main/res/layout/activity_list.xml b/others/lede-gui/src/main/res/layout/activity_list.xml
new file mode 100644 (file)
index 0000000..23ff98e
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
+    xmlns:app="http://schemas.android.com/apk/res-auto"\r
+    xmlns:tools="http://schemas.android.com/tools"\r
+    android:layout_width="match_parent"\r
+    android:layout_height="match_parent"\r
+    android:orientation="vertical"\r
+    tools:context="com.example.lede2.ListActivity">\r
+\r
+        <ListView\r
+            android:id="@+id/listView1"\r
+            android:layout_width="match_parent"\r
+            android:layout_height="wrap_content"\r
+            android:layout_weight="1"\r
+            android:choiceMode="multipleChoice"\r
+            android:background="@drawable/background"/>\r
+\r
+            <LinearLayout\r
+                android:layout_width="match_parent"\r
+                android:layout_height="wrap_content"\r
+                android:orientation="horizontal">\r
+\r
+\r
+                <Button\r
+                    android:id="@+id/delete"\r
+                    android:layout_width="wrap_content"\r
+                    android:layout_height="wrap_content"\r
+                    android:layout_weight="1"\r
+                    android:text="Delete"/>\r
+\r
+                <Button\r
+                    android:id="@+id/selectAll"\r
+                    android:layout_width="wrap_content"\r
+                    android:layout_height="wrap_content"\r
+                    android:layout_weight="1"\r
+                    android:text="Select All" />\r
+            </LinearLayout>\r
+</LinearLayout>\r