summaryrefslogtreecommitdiff
path: root/SDL_Core/mobile/android/SyncProxyTester/src/main/res/layout/activity_keyboardproperties.xml
blob: b69ea7e69746c1d6e0e674d3b4b1fc6633c7875f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              android:layout_width="match_parent"
              android:layout_height="fill_parent"
              android:paddingLeft="@dimen/activity_horizontal_margin"
              android:paddingRight="@dimen/activity_horizontal_margin"
              android:paddingTop="@dimen/activity_vertical_margin"
              android:paddingBottom="@dimen/activity_vertical_margin"
              android:orientation="vertical"
              tools:context=".KeyboardPropertiesActivity">

    <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

        <CheckBox
                android:id="@+id/keyboardproperties_useLanguage"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:checked="true"
                android:text="@string/keyboardproperties_useLanguage"/>

        <Spinner
                android:id="@+id/keyboardproperties_language"
                android:layout_width="0dip"
                android:layout_height="wrap_content"
                android:layout_weight="1"/>
    </LinearLayout>

    <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

        <CheckBox
                android:id="@+id/keyboardproperties_useKbdLayout"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:checked="true"
                android:text="@string/keyboardproperties_useKbdLayout"/>

        <Spinner
                android:id="@+id/keyboardproperties_kbdLayout"
                android:layout_width="0dip"
                android:layout_height="wrap_content"
                android:layout_weight="1"/>
    </LinearLayout>

    <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

        <CheckBox
                android:id="@+id/keyboardproperties_useKeypressMode"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:checked="true"
                android:text="@string/keyboardproperties_useKeypressMode"/>

        <Spinner
                android:id="@+id/keyboardproperties_keypressMode"
                android:layout_width="0dip"
                android:layout_height="wrap_content"
                android:layout_weight="1"/>
    </LinearLayout>


    <CheckBox
            android:id="@+id/keyboardproperties_useLimitedCharacterList"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:checked="true"
            android:text="@string/keyboardproperties_useLimitedCharacterList"/>

    <EditText
            android:id="@+id/keyboardproperties_limitedCharacterList"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:freezesText="true"
            android:inputType="text"
            android:text="@string/keyboardproperties_limitedCharacterListDefault"/>

    <CheckBox
            android:id="@+id/keyboardproperties_useAutoCompleteText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:checked="true"
            android:text="@string/keyboardproperties_useAutoCompleteText"/>

    <EditText
            android:id="@+id/keyboardproperties_autoCompleteText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:freezesText="true"
            android:inputType="text"
            android:maxLength="1000"
            android:text="@string/keyboardproperties_autoCompleteTextDefault"/>

    <LinearLayout
            android:id="@+id/keyboardproperties_footer"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            style="?android:attr/buttonBarStyle">

        <Button
                android:id="@+id/keyboardproperties_ok"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@android:string/ok"
                style="?android:attr/buttonBarButtonStyle"/>

        <Button
                android:id="@+id/keyboardproperties_cancel"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@android:string/cancel"
                style="?android:attr/buttonBarButtonStyle"/>
    </LinearLayout>

</LinearLayout>