summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2019-06-02 13:51:59 +0200
committerBjørn Mork <bjorn@mork.no>2019-06-02 13:51:59 +0200
commitb9881563e0f41377c4476ea31e5ef68c65b47d6e (patch)
tree1ddd4570fe6c0ce7924d67806a2c90cfeef00d42
parent188e9e75fe7b040972a918e4e96d342086772bb1 (diff)
include layout
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r--Defogger/res/layout/activity_ipcam.xml88
1 files changed, 88 insertions, 0 deletions
diff --git a/Defogger/res/layout/activity_ipcam.xml b/Defogger/res/layout/activity_ipcam.xml
new file mode 100644
index 0000000..6101187
--- /dev/null
+++ b/Defogger/res/layout/activity_ipcam.xml
@@ -0,0 +1,88 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/statustext"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true" />
+ <Button
+ android:id="@+id/wificonfig"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="getWifiConfig"
+ android:text="@string/wificonfig"/>
+ <Button
+ android:id="@+id/ipconfig"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="getIpConfig"
+ android:text="@string/ipconfig"/>
+ <TextView
+ android:id="@+id/ipaddress"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ <TextView
+ android:id="@+id/netmask"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ <TextView
+ android:id="@+id/gateway"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ <TextView
+ android:id="@+id/dns"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ <Button
+ android:id="@+id/sysinfo"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="getSysInfo"
+ android:text="@string/sysinfo"/>
+ <TextView
+ android:id="@+id/sysname"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ <TextView
+ android:id="@+id/systime"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ <TextView
+ android:id="@+id/version"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ <TextView
+ android:id="@+id/macaddress"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/command" />
+
+ <EditText
+ android:id="@+id/command"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="text"
+ android:imeOptions="actionDone"
+ android:imeActionLabel="Run" />
+
+ <Button
+ android:id="@+id/setup"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="getWifiLink"
+ android:text="@string/setup"/>
+ <ListView
+ android:id="@+id/networks"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+</LinearLayout>