blob: d8d133264bf655d08620ef722bda616e2afa1756 [file] [log] [blame]
satok91d96f22010-07-20 14:21:54 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2010, 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>
Tadashi G. Takaokada4bfbb2011-04-06 13:54:37 +090022 <!-- keyboardHeight = key_height*4 + key_bottom_gap*3, key_height=12mm -->
Tadashi G. Takaoka98935832010-12-15 17:11:37 +090023 <dimen name="keyboardHeight">48.0mm</dimen>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090024 <fraction name="maxKeyboardHeight">50%p</fraction>
Tadashi G. Takaoka0041e962011-05-16 22:19:20 +090025 <fraction name="minKeyboardHeight">-35.0%p</fraction>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090026 <!-- key_height + key_bottom_gap = popup_key_height -->
Tadashi G. Takaoka98935832010-12-15 17:11:37 +090027 <!-- <dimen name="key_height">14.5mm</dimen> -->
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +090028 <dimen name="key_bottom_gap">1.1mm</dimen>
29 <dimen name="key_horizontal_gap">1.1mm</dimen>
Tadashi G. Takaoka98935832010-12-15 17:11:37 +090030 <dimen name="popup_key_height">10.0mm</dimen>
Tadashi G. Takaoka7dc190f2010-12-17 14:37:12 +090031 <dimen name="keyboard_top_padding">1.1mm</dimen>
Tadashi G. Takaokaada7ad22010-12-07 15:21:50 +090032 <dimen name="keyboard_bottom_padding">0.0mm</dimen>
Tadashi G. Takaoka6d81e2b2011-04-08 14:45:19 +090033 <dimen name="keyboard_horizontal_edges_padding">0.0mm</dimen>
Tadashi G. Takaokada4bfbb2011-04-06 13:54:37 +090034 <dimen name="mini_keyboard_horizontal_padding_holo">40dip</dimen>
Tadashi G. Takaokacc55d942011-01-01 14:07:04 +090035 <dimen name="mini_keyboard_key_horizontal_padding">12dip</dimen>
Tadashi G. Takaokaf48637a2010-09-29 13:51:06 +090036 <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
Tadashi G. Takaoka59b7bd02010-11-05 18:41:12 +090037 <!-- popup_key_height x 1.2 -->
Tadashi G. Takaoka3e99aa02010-11-10 14:58:15 -080038 <dimen name="mini_keyboard_slide_allowance">15.6mm</dimen>
39 <!-- popup_key_height x -1.0 -->
40 <dimen name="mini_keyboard_vertical_correction">-13.0mm</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090041
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090042 <fraction name="key_letter_ratio">38%</fraction>
43 <fraction name="key_label_ratio">26%</fraction>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090044 <fraction name="key_hint_letter_ratio">23%</fraction>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090045 <fraction name="key_uppercase_letter_ratio">25%</fraction>
Tadashi G. Takaoka5d040422010-12-01 12:22:19 +090046 <!-- left or right padding of label alignment -->
Tadashi G. Takaoka89c58742010-12-08 20:05:34 +090047 <dimen name="key_label_horizontal_alignment_padding">6dip</dimen>
Tadashi G. Takaokad1578342011-05-12 23:49:19 +090048 <fraction name="key_preview_text_ratio">26.3%</fraction>
Tadashi G. Takaokada4bfbb2011-04-06 13:54:37 +090049 <dimen name="key_preview_height_holo">23.0mm</dimen>
50 <dimen name="key_preview_offset_holo">8.0mm</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090051
Tadashi G. Takaoka89c58742010-12-08 20:05:34 +090052 <dimen name="candidate_strip_height">46dip</dimen>
Tadashi G. Takaoka7a3d3ae2011-04-13 14:12:24 +090053 <!-- candidate_strip_minimum_height =
54 key_preview_height_holo - key_preview_offset_holo + alpha -->
55 <dimen name="candidate_strip_minimum_height">18mm</dimen>
Tadashi G. Takaokae49bd1c2010-12-06 21:26:38 +090056 <dimen name="candidate_strip_padding">15.0mm</dimen>
Tadashi G. Takaoka37b6b442011-05-09 19:49:13 +090057 <dimen name="candidate_min_width">46dip</dimen>
58 <dimen name="candidate_padding">8dip</dimen>
Tadashi G. Takaokae49bd1c2010-12-06 21:26:38 +090059 <dimen name="candidate_text_size">22dip</dimen>
satok91d96f22010-07-20 14:21:54 +090060</resources>