Tadashi G. Takaoka | 0d22fc4 | 2011-05-30 20:12:04 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2011, 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 | --> |
| 20 | |
| 21 | <resources> |
| 22 | <!-- keyboardHeight = key_height*4 + key_bottom_gap*3 --> |
| 23 | <dimen name="keyboardHeight">45.0mm</dimen> |
Tadashi G. Takaoka | 237af54 | 2011-06-17 11:55:42 +0900 | [diff] [blame] | 24 | <fraction name="minKeyboardHeight">45%p</fraction> |
Tadashi G. Takaoka | 0d22fc4 | 2011-05-30 20:12:04 +0900 | [diff] [blame] | 25 | <!-- key_height + key_bottom_gap = popup_key_height --> |
| 26 | <!-- <dimen name="key_height">14.5mm</dimen> --> |
| 27 | <dimen name="key_bottom_gap">1.3mm</dimen> |
| 28 | <dimen name="key_horizontal_gap">1.3mm</dimen> |
| 29 | <dimen name="popup_key_height">13.0mm</dimen> |
| 30 | <dimen name="keyboard_top_padding">1.1mm</dimen> |
| 31 | <dimen name="keyboard_bottom_padding">0.0mm</dimen> |
| 32 | <!-- key_height x 1.0 --> |
| 33 | <dimen name="key_preview_height">13.0mm</dimen> |
| 34 | |
Tadashi G. Takaoka | 237af54 | 2011-06-17 11:55:42 +0900 | [diff] [blame] | 35 | <fraction name="key_letter_ratio">45%</fraction> |
| 36 | <fraction name="key_label_ratio">32%</fraction> |
Tadashi G. Takaoka | 9d9522a | 2011-06-15 12:36:53 +0900 | [diff] [blame] | 37 | <fraction name="key_hint_letter_ratio">23%</fraction> |
Tadashi G. Takaoka | 237af54 | 2011-06-17 11:55:42 +0900 | [diff] [blame] | 38 | <fraction name="key_uppercase_letter_ratio">29%</fraction> |
Tadashi G. Takaoka | 0d22fc4 | 2011-05-30 20:12:04 +0900 | [diff] [blame] | 39 | <!-- left or right padding of label alignment --> |
| 40 | <dimen name="key_label_horizontal_alignment_padding">18dip</dimen> |
| 41 | <dimen name="candidate_strip_padding">40.0mm</dimen> |
| 42 | </resources> |