blob: e1d3172aabeb609b526a934bef77e6e7fde67128 [file] [log] [blame]
Jim Miller00d24762009-12-22 19:04:57 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2008, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10** http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
20<!-- This is not a standalone element it can be included into apps that need 12-key input -->
21<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:orientation="vertical">
23
24 <LinearLayout
25 android:layout_width="fill_parent"
26 android:layout_height="64dip"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070027 android:layout_marginStart="2dip"
28 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -080029 android:orientation="horizontal">
30
31 <Button android:id="@+id/one"
32 android:layout_width="0sp"
33 android:layout_height="fill_parent"
34 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070035 android:layout_marginStart="2dip"
36 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -080037 android:textAppearance="?android:attr/textAppearanceLarge"
38 android:textStyle="bold"
39 />
40
41 <Button android:id="@+id/two"
42 android:layout_width="0sp"
43 android:layout_height="fill_parent"
44 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070045 android:layout_marginStart="2dip"
46 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -080047 android:textAppearance="?android:attr/textAppearanceLarge"
48 android:textStyle="bold"
49 />
50
51 <Button android:id="@+id/three"
52 android:layout_width="0sp"
53 android:layout_height="fill_parent"
54 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070055 android:layout_marginStart="2dip"
56 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -080057 android:textAppearance="?android:attr/textAppearanceLarge"
58 android:textStyle="bold"
59 />
60
61 </LinearLayout>
62
63 <LinearLayout
64 android:layout_width="fill_parent"
65 android:layout_height="64dip"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070066 android:layout_marginStart="2dip"
67 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -080068 android:orientation="horizontal">
69
70 <Button android:id="@+id/four"
71 android:layout_width="0sp"
72 android:layout_height="fill_parent"
73 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070074 android:layout_marginStart="2dip"
75 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -080076 android:textAppearance="?android:attr/textAppearanceLarge"
77 android:textStyle="bold"
78 />
79
80 <Button android:id="@+id/five"
81 android:layout_width="0sp"
82 android:layout_height="fill_parent"
83 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070084 android:layout_marginStart="2dip"
85 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -080086 android:textAppearance="?android:attr/textAppearanceLarge"
87 android:textStyle="bold"
88 />
89
90 <Button android:id="@+id/six"
91 android:layout_width="0sp"
92 android:layout_height="fill_parent"
93 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070094 android:layout_marginStart="2dip"
95 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -080096 android:textAppearance="?android:attr/textAppearanceLarge"
97 android:textStyle="bold"
98 />
99 </LinearLayout>
100
101 <LinearLayout
102 android:layout_width="fill_parent"
103 android:layout_height="64dip"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700104 android:layout_marginStart="2dip"
105 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -0800106 android:orientation="horizontal">
107
108 <Button android:id="@+id/seven"
109 android:layout_width="0sp"
110 android:layout_height="fill_parent"
111 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700112 android:layout_marginStart="2dip"
113 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -0800114 android:textAppearance="?android:attr/textAppearanceLarge"
115 android:textStyle="bold"
116 />
117
118 <Button android:id="@+id/eight"
119 android:layout_width="0sp"
120 android:layout_height="fill_parent"
121 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700122 android:layout_marginStart="2dip"
123 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -0800124 android:textAppearance="?android:attr/textAppearanceLarge"
125 android:textStyle="bold"
126 />
127
128 <Button android:id="@+id/nine"
129 android:layout_width="0sp"
130 android:layout_height="fill_parent"
131 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700132 android:layout_marginStart="2dip"
133 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -0800134 android:textAppearance="?android:attr/textAppearanceLarge"
135 android:textStyle="bold"
136 />
137
138 </LinearLayout>
139
140 <LinearLayout
141 android:layout_width="fill_parent"
142 android:layout_height="64dip"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700143 android:layout_marginStart="2dip"
144 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -0800145 android:orientation="horizontal">
146
147 <Button android:id="@+id/ok"
148 android:layout_width="0sp"
149 android:layout_height="fill_parent"
150 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700151 android:layout_marginStart="2dip"
152 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -0800153 android:textAppearance="?android:attr/textAppearanceMedium"
154 android:textStyle="bold"
155 android:text="@android:string/ok"
156 />
157
158 <Button android:id="@+id/zero"
159 android:layout_width="0sp"
160 android:layout_height="fill_parent"
161 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700162 android:layout_marginStart="2dip"
163 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -0800164 android:textAppearance="?android:attr/textAppearanceLarge"
165 android:textStyle="bold"
166 />
167
168 <Button android:id="@+id/cancel"
169 android:layout_width="0sp"
170 android:layout_height="fill_parent"
171 android:layout_weight="1"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700172 android:layout_marginStart="2dip"
173 android:layout_marginEnd="2dip"
Jim Miller00d24762009-12-22 19:04:57 -0800174 android:textAppearance="?android:attr/textAppearanceMedium"
175 android:textStyle="bold"
176 android:text="@android:string/cancel"
177 />
178
179 </LinearLayout>
180
181</LinearLayout>