]> git.zerfleddert.de Git - ms2-fixes/blobdiff - MS2Debounce/res/layout/main.xml
add load/unload/reload-buttons
[ms2-fixes] / MS2Debounce / res / layout / main.xml
index 323709bd4c29b7ecece2328b3c6db645dcad3024..6eaa06752844de2ce9d5148a89c03d94601dfaba 100644 (file)
@@ -1,14 +1,44 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:orientation="vertical"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     >
+<Button
+    android:id="@+id/reload"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:layout_marginTop="10dip"
+    android:layout_alignParentLeft="true"
+    android:onClick="reloadModule"
+    android:text="Reload" />
+<Button
+    android:id="@+id/load"
+    android:layout_below="@id/reload"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:layout_alignParentLeft="true"
+    android:onClick="loadModule"
+    android:text="Load" />
+<Button
+    android:id="@+id/unload"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:layout_toRightOf="@id/load"
+    android:layout_alignTop="@id/load"
+    android:onClick="unloadModule"
+    android:text="Unload" />
+<CheckBox
+    android:id="@+id/on_boot"
+    android:layout_below="@id/load"
+    android:layout_width="fill_parent"
+    android:layout_height="wrap_content"
+    android:text="Load module on boot" />
 <TextView  
     android:id="@+id/text"
+    android:layout_below="@id/on_boot"
     android:layout_width="fill_parent" 
-    android:layout_height="wrap_content" 
+    android:layout_height="fill_parent" 
     android:text=""
     />
-</LinearLayout>
+</RelativeLayout>
 
Impressum, Datenschutz