]> git.zerfleddert.de Git - ms2-fixes/blame - MS2Debounce/res/layout/main.xml
implement on_boot checkbox
[ms2-fixes] / MS2Debounce / res / layout / main.xml
CommitLineData
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"
21 android:background="@android:drawable/editbox_background"/>
dea0f4b0
MG
22<Button
23 android:id="@+id/reload"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
c51c7009
MG
26 android:layout_alignBaseline="@id/delay_label"
27 android:layout_toRightOf="@id/debounce_delay"
dea0f4b0
MG
28 android:onClick="reloadModule"
29 android:text="Reload" />
dea0f4b0
MG
30<Button
31 android:id="@+id/unload"
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
c51c7009
MG
34 android:layout_alignBaseline="@id/delay_label"
35 android:layout_alignParentRight="true"
dea0f4b0
MG
36 android:onClick="unloadModule"
37 android:text="Unload" />
c51c7009
MG
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" />
dea0f4b0
MG
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"
c3053460 51 android:onClick="toggle_on_boot"
dea0f4b0 52 android:text="Load module on boot" />
7bcde8d7 53<TextView
ee6322a1 54 android:id="@+id/text"
dea0f4b0 55 android:layout_below="@id/on_boot"
7bcde8d7 56 android:layout_width="fill_parent"
dea0f4b0 57 android:layout_height="fill_parent"
ee6322a1 58 android:text=""
7bcde8d7 59 />
dea0f4b0 60</RelativeLayout>
7bcde8d7 61
Impressum, Datenschutz