The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2008, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
Tadashi G. Takaoka | ed8eabc | 2010-09-16 13:10:14 +0900 | [diff] [blame^] | 20 | |
| 21 | <Keyboard |
| 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 23 | android:keyWidth="26.67%p" |
| 24 | android:horizontalGap="0px" |
| 25 | android:verticalGap="0px" |
| 26 | android:keyHeight="@dimen/key_height" |
Tadashi G. Takaoka | ed8eabc | 2010-09-16 13:10:14 +0900 | [diff] [blame^] | 27 | > |
| 28 | <Row |
| 29 | android:rowEdgeFlags="top" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 30 | > |
Tadashi G. Takaoka | ed8eabc | 2010-09-16 13:10:14 +0900 | [diff] [blame^] | 31 | <Key |
| 32 | android:codes="49" |
| 33 | android:keyIcon="@drawable/sym_keyboard_num1" |
| 34 | android:keyEdgeFlags="left" /> |
| 35 | <Key |
| 36 | android:codes="50" |
| 37 | android:keyIcon="@drawable/sym_keyboard_num2" /> |
| 38 | <Key |
| 39 | android:codes="51" |
| 40 | android:keyIcon="@drawable/sym_keyboard_num3" /> |
| 41 | <Key |
| 42 | android:keyLabel="-" |
| 43 | android:keyWidth="20%p" |
| 44 | android:keyEdgeFlags="right" /> |
| 45 | </Row> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 46 | <Row> |
Tadashi G. Takaoka | ed8eabc | 2010-09-16 13:10:14 +0900 | [diff] [blame^] | 47 | <Key |
| 48 | android:codes="52" |
| 49 | android:keyIcon="@drawable/sym_keyboard_num4" |
| 50 | android:keyEdgeFlags="left" /> |
| 51 | <Key |
| 52 | android:codes="53" |
| 53 | android:keyIcon="@drawable/sym_keyboard_num5" /> |
| 54 | <Key |
| 55 | android:codes="54" |
| 56 | android:keyIcon="@drawable/sym_keyboard_num6" /> |
| 57 | <Key |
| 58 | android:keyLabel="." |
| 59 | android:keyWidth="20%p" |
| 60 | android:keyEdgeFlags="right" /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 61 | </Row> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 62 | <Row> |
Tadashi G. Takaoka | ed8eabc | 2010-09-16 13:10:14 +0900 | [diff] [blame^] | 63 | <Key |
| 64 | android:codes="55" |
| 65 | android:keyIcon="@drawable/sym_keyboard_num7" |
| 66 | android:keyEdgeFlags="left" /> |
| 67 | <Key |
| 68 | android:codes="56" |
| 69 | android:keyIcon="@drawable/sym_keyboard_num8" /> |
| 70 | <Key |
| 71 | android:codes="57" |
| 72 | android:keyIcon="@drawable/sym_keyboard_num9" /> |
| 73 | <Key |
| 74 | android:codes="@integer/key_delete" |
| 75 | android:keyIcon="@drawable/sym_keyboard_delete" |
| 76 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
| 77 | android:keyWidth="20%p" |
| 78 | android:isRepeatable="true" |
| 79 | android:keyEdgeFlags="right" /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 80 | </Row> |
Tadashi G. Takaoka | ed8eabc | 2010-09-16 13:10:14 +0900 | [diff] [blame^] | 81 | <Row |
| 82 | android:rowEdgeFlags="bottom" |
| 83 | > |
| 84 | <Key |
| 85 | android:codes="@integer/key_symbol" |
| 86 | android:keyIcon="@drawable/sym_keyboard_numalt" |
| 87 | android:iconPreview="@drawable/sym_keyboard_feedback_numalt" /> |
| 88 | <Key |
| 89 | android:codes="48" |
| 90 | android:keyIcon="@drawable/sym_keyboard_num0" /> |
| 91 | <Key |
| 92 | android:codes="@integer/key_space" |
| 93 | android:keyIcon="@drawable/sym_keyboard_space" |
| 94 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 95 | android:isRepeatable="true" /> |
| 96 | <Key |
| 97 | android:codes="@integer/key_return" |
| 98 | android:keyIcon="@drawable/sym_keyboard_return" |
| 99 | android:keyWidth="20%p" |
| 100 | android:keyEdgeFlags="right" /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 101 | </Row> |
Tadashi G. Takaoka | ed8eabc | 2010-09-16 13:10:14 +0900 | [diff] [blame^] | 102 | </Keyboard> |