Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 1 | <?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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 27 | android:layout_marginStart="2dip" |
| 28 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 29 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 35 | android:layout_marginStart="2dip" |
| 36 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 37 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 45 | android:layout_marginStart="2dip" |
| 46 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 47 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 55 | android:layout_marginStart="2dip" |
| 56 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 57 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 66 | android:layout_marginStart="2dip" |
| 67 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 68 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 74 | android:layout_marginStart="2dip" |
| 75 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 76 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 84 | android:layout_marginStart="2dip" |
| 85 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 86 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 94 | android:layout_marginStart="2dip" |
| 95 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 96 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 104 | android:layout_marginStart="2dip" |
| 105 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 106 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 112 | android:layout_marginStart="2dip" |
| 113 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 114 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 122 | android:layout_marginStart="2dip" |
| 123 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 124 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 132 | android:layout_marginStart="2dip" |
| 133 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 134 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 143 | android:layout_marginStart="2dip" |
| 144 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 145 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 151 | android:layout_marginStart="2dip" |
| 152 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 153 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 162 | android:layout_marginStart="2dip" |
| 163 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 164 | 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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 172 | android:layout_marginStart="2dip" |
| 173 | android:layout_marginEnd="2dip" |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 174 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 175 | android:textStyle="bold" |
| 176 | android:text="@android:string/cancel" |
| 177 | /> |
| 178 | |
| 179 | </LinearLayout> |
| 180 | |
| 181 | </LinearLayout> |