]>
git.zerfleddert.de Git - ms2-fixes/blob - MS2Debounce/res/layout/main.xml
f0ec60e547c05e09689b87737f5518471df52248
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"
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:"/>
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"
22 android:
enabled=
"false"
23 android:
background=
"@android:drawable/editbox_background"/>
26 android:
layout_width=
"wrap_content"
27 android:
layout_height=
"wrap_content"
28 android:
layout_alignBaseline=
"@id/delay_label"
29 android:
layout_toRightOf=
"@id/debounce_delay"
30 android:
onClick=
"setValues"
33 android:
id=
"@+id/unload"
34 android:
layout_width=
"wrap_content"
35 android:
layout_height=
"wrap_content"
36 android:
layout_alignBaseline=
"@id/delay_label"
37 android:
layout_alignParentRight=
"true"
38 android:
onClick=
"unloadModule"
39 android:
text=
"Unload" />
41 android:
id=
"@+id/load"
42 android:
layout_width=
"wrap_content"
43 android:
layout_height=
"wrap_content"
44 android:
layout_alignBaseline=
"@id/delay_label"
45 android:
layout_toLeftOf=
"@id/unload"
46 android:
onClick=
"loadModule"
47 android:
text=
"Load" />
49 android:
id=
"@+id/settle_label"
50 android:
layout_width=
"wrap_content"
51 android:
layout_height=
"wrap_content"
52 android:
layout_below=
"@id/delay_label"
53 android:
text=
"Settle:"/>
55 android:
id=
"@+id/settle_time"
56 android:
layout_width=
"wrap_content"
57 android:
layout_height=
"wrap_content"
58 android:
layout_toRightOf=
"@id/settle_label"
59 android:
layout_alignBaseline=
"@id/settle_label"
60 android:
numeric=
"integer"
63 android:
enabled=
"false"
64 android:
background=
"@android:drawable/editbox_background"/>
66 android:
id=
"@+id/poll_label"
67 android:
layout_width=
"wrap_content"
68 android:
layout_height=
"wrap_content"
69 android:
layout_below=
"@id/settle_label"
70 android:
text=
"Poll:"/>
72 android:
id=
"@+id/poll_time"
73 android:
layout_width=
"wrap_content"
74 android:
layout_height=
"wrap_content"
75 android:
layout_alignBaseline=
"@id/poll_label"
76 android:
layout_toRightOf=
"@id/poll_label"
77 android:
numeric=
"integer"
80 android:
enabled=
"false"
81 android:
background=
"@android:drawable/editbox_background"/>
83 android:
id=
"@+id/on_boot"
84 android:
layout_below=
"@id/poll_label"
85 android:
layout_width=
"fill_parent"
86 android:
layout_height=
"wrap_content"
87 android:
onClick=
"toggle_on_boot"
88 android:
text=
"Load module on boot" />
90 android:
id=
"@+id/text"
91 android:
layout_below=
"@id/on_boot"
92 android:
layout_width=
"fill_parent"
93 android:
layout_height=
"fill_parent"