]> git.zerfleddert.de Git - ms2-fixes/blame - MS2Debounce/res/layout/main.xml
set settle_time and poll_time
[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"
1559225a
MG
21 android:text="0"
22 android:enabled="false"
c51c7009 23 android:background="@android:drawable/editbox_background"/>
dea0f4b0
MG
24<Button
25 android:id="@+id/reload"
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"
dea0f4b0
MG
30 android:onClick="reloadModule"
31 android:text="Reload" />
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" />
dea0f4b0
MG
48<CheckBox
49 android:id="@+id/on_boot"
50 android:layout_below="@id/load"
51 android:layout_width="fill_parent"
52 android:layout_height="wrap_content"
c3053460 53 android:onClick="toggle_on_boot"
dea0f4b0 54 android:text="Load module on boot" />
7bcde8d7 55<TextView
ee6322a1 56 android:id="@+id/text"
dea0f4b0 57 android:layout_below="@id/on_boot"
7bcde8d7 58 android:layout_width="fill_parent"
dea0f4b0 59 android:layout_height="fill_parent"
ee6322a1 60 android:text=""
7bcde8d7 61 />
dea0f4b0 62</RelativeLayout>
7bcde8d7 63
Impressum, Datenschutz