]>
Commit | Line | Data |
---|---|---|
7bcde8d7 | 1 | <?xml version="1.0" encoding="utf-8"?> |
dea0f4b0 | 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
7bcde8d7 MG |
3 | android:layout_width="fill_parent" |
4 | android:layout_height="fill_parent" | |
5 | > | |
c51c7009 MG |
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" | |
1559225a MG |
21 | android:text="0" |
22 | android:enabled="false" | |
c51c7009 | 23 | android:background="@android:drawable/editbox_background"/> |
dea0f4b0 | 24 | <Button |
381027a8 | 25 | android:id="@+id/set" |
dea0f4b0 MG |
26 | android:layout_width="wrap_content" |
27 | android:layout_height="wrap_content" | |
c51c7009 MG |
28 | android:layout_alignBaseline="@id/delay_label" |
29 | android:layout_toRightOf="@id/debounce_delay" | |
381027a8 MG |
30 | android:onClick="setValues" |
31 | android:text="Set" /> | |
dea0f4b0 MG |
32 | <Button |
33 | android:id="@+id/unload" | |
34 | android:layout_width="wrap_content" | |
35 | android:layout_height="wrap_content" | |
c51c7009 MG |
36 | android:layout_alignBaseline="@id/delay_label" |
37 | android:layout_alignParentRight="true" | |
dea0f4b0 MG |
38 | android:onClick="unloadModule" |
39 | android:text="Unload" /> | |
c51c7009 MG |
40 | <Button |
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" /> | |
381027a8 MG |
48 | <TextView |
49 | android:id="@+id/settle_label" | |
50 | android:layout_width="wrap_content" | |
51 | android:layout_height="wrap_content" | |
1f436180 | 52 | android:layout_marginTop="20dip" |
381027a8 MG |
53 | android:layout_below="@id/delay_label" |
54 | android:text="Settle:"/> | |
55 | <EditText | |
56 | android:id="@+id/settle_time" | |
57 | android:layout_width="wrap_content" | |
58 | android:layout_height="wrap_content" | |
59 | android:layout_toRightOf="@id/settle_label" | |
60 | android:layout_alignBaseline="@id/settle_label" | |
61 | android:numeric="integer" | |
62 | android:maxLength="3" | |
63 | android:text="0" | |
64 | android:enabled="false" | |
65 | android:background="@android:drawable/editbox_background"/> | |
2bb83a0e MG |
66 | <CheckBox |
67 | android:id="@+id/on_boot" | |
68 | android:layout_alignBaseline="@id/settle_label" | |
69 | android:layout_toRightOf="@id/settle_time" | |
70 | android:layout_width="fill_parent" | |
71 | android:layout_height="wrap_content" | |
72 | android:onClick="toggle_on_boot" | |
73 | android:text="Load module on boot" /> | |
381027a8 MG |
74 | <TextView |
75 | android:id="@+id/poll_label" | |
76 | android:layout_width="wrap_content" | |
77 | android:layout_height="wrap_content" | |
1f436180 | 78 | android:layout_marginTop="20dip" |
381027a8 MG |
79 | android:layout_below="@id/settle_label" |
80 | android:text="Poll:"/> | |
81 | <EditText | |
82 | android:id="@+id/poll_time" | |
83 | android:layout_width="wrap_content" | |
84 | android:layout_height="wrap_content" | |
85 | android:layout_alignBaseline="@id/poll_label" | |
86 | android:layout_toRightOf="@id/poll_label" | |
87 | android:numeric="integer" | |
8883ca17 | 88 | android:maxLength="3" |
381027a8 MG |
89 | android:text="0" |
90 | android:enabled="false" | |
91 | android:background="@android:drawable/editbox_background"/> | |
d002e66d MG |
92 | <CheckBox |
93 | android:id="@+id/drive_inactive" | |
94 | android:layout_alignBaseline="@id/poll_label" | |
95 | android:layout_toRightOf="@id/poll_time" | |
96 | android:layout_width="fill_parent" | |
97 | android:layout_height="wrap_content" | |
98 | android:onClick="toggle_drive_inactive" | |
99 | android:text="Drive inactive pins" /> | |
2bb83a0e MG |
100 | <TextView |
101 | android:id="@+id/hw_debounce_label" | |
102 | android:layout_width="wrap_content" | |
103 | android:layout_height="wrap_content" | |
104 | android:layout_marginTop="20dip" | |
381027a8 | 105 | android:layout_below="@id/poll_label" |
2bb83a0e MG |
106 | android:text="HW Debounce:"/> |
107 | <EditText | |
108 | android:id="@+id/hw_debounce_time" | |
109 | android:layout_width="wrap_content" | |
110 | android:layout_height="wrap_content" | |
111 | android:layout_alignBaseline="@id/hw_debounce_label" | |
112 | android:layout_toRightOf="@id/hw_debounce_label" | |
113 | android:numeric="integer" | |
114 | android:maxLength="2" | |
115 | android:text="1" | |
116 | android:enabled="false" | |
117 | android:background="@android:drawable/editbox_background"/> | |
118 | <CheckBox | |
119 | android:id="@+id/hw_debounce" | |
120 | android:layout_alignBaseline="@id/hw_debounce_label" | |
121 | android:layout_toRightOf="@id/hw_debounce_time" | |
dea0f4b0 MG |
122 | android:layout_width="fill_parent" |
123 | android:layout_height="wrap_content" | |
2bb83a0e MG |
124 | android:onClick="toggle_hw_debounce" |
125 | android:text="Enabled" /> | |
7bcde8d7 | 126 | <TextView |
ee6322a1 | 127 | android:id="@+id/text" |
2bb83a0e MG |
128 | android:layout_marginTop="10dip" |
129 | android:layout_below="@id/hw_debounce_label" | |
7bcde8d7 | 130 | android:layout_width="fill_parent" |
dea0f4b0 | 131 | android:layout_height="fill_parent" |
ee6322a1 | 132 | android:text="" |
7bcde8d7 | 133 | /> |
dea0f4b0 | 134 | </RelativeLayout> |
7bcde8d7 | 135 |