blob: a7167af7643f733b74f0aa8417192c4f57bcd069 [file] [log] [blame]
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +09001<?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. Takaoka237af542011-06-17 11:55:42 +090024 <fraction name="minKeyboardHeight">45%p</fraction>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090025 <!-- 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. Takaoka237af542011-06-17 11:55:42 +090035 <fraction name="key_letter_ratio">45%</fraction>
36 <fraction name="key_label_ratio">32%</fraction>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090037 <fraction name="key_hint_letter_ratio">23%</fraction>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090038 <fraction name="key_uppercase_letter_ratio">29%</fraction>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090039 <!-- 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>