]> git.zerfleddert.de Git - ms2-fixes/blob - MS2Debounce/res/layout/main.xml
fcf4ea264a8d8a92c307a4b48f0f812bbd9f6ddb
[ms2-fixes] / MS2Debounce / res / layout / main.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="fill_parent"
4 android:layout_height="fill_parent"
5 >
6 <TextView
7 android:id="@+id/delay_label"
8 android:layout_marginTop="20dip"
9 android:layout_alignParentLeft="true"
10 android:layout_width="wrap_content"
11 android:layout_height="wrap_content"
12 android:text="Delay:"/>
13 <EditText
14 android:id="@+id/debounce_delay"
15 android:layout_width="wrap_content"
16 android:layout_height="wrap_content"
17 android:layout_alignBaseline="@id/delay_label"
18 android:layout_toRightOf="@id/delay_label"
19 android:numeric="integer"
20 android:maxLength="2"
21 android:background="@android:drawable/editbox_background"/>
22 <Button
23 android:id="@+id/reload"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:layout_alignBaseline="@id/delay_label"
27 android:layout_toRightOf="@id/debounce_delay"
28 android:onClick="reloadModule"
29 android:text="Reload" />
30 <Button
31 android:id="@+id/unload"
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:layout_alignBaseline="@id/delay_label"
35 android:layout_alignParentRight="true"
36 android:onClick="unloadModule"
37 android:text="Unload" />
38 <Button
39 android:id="@+id/load"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:layout_alignBaseline="@id/delay_label"
43 android:layout_toLeftOf="@id/unload"
44 android:onClick="loadModule"
45 android:text="Load" />
46 <CheckBox
47 android:id="@+id/on_boot"
48 android:layout_below="@id/load"
49 android:layout_width="fill_parent"
50 android:layout_height="wrap_content"
51 android:text="Load module on boot" />
52 <TextView
53 android:id="@+id/text"
54 android:layout_below="@id/on_boot"
55 android:layout_width="fill_parent"
56 android:layout_height="fill_parent"
57 android:text=""
58 />
59 </RelativeLayout>
60
Impressum, Datenschutz