blob: b5d5a8496d3ef7ea04ad25449899f7a4f8538ab7 [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. Takaoka7dc190f2010-12-17 14:37:12 +090030 <dimen name="keyboard_top_padding">1.1mm</dimen>
Tadashi G. Takaokaada7ad22010-12-07 15:21:50 +090031 <dimen name="keyboard_bottom_padding">0.0mm</dimen>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +090032 <dimen name="key_bottom_gap_ics">1.1mm</dimen>
33 <dimen name="key_horizontal_gap_ics">1.1mm</dimen>
34 <dimen name="keyboard_top_padding_ics">1.1mm</dimen>
35 <dimen name="keyboard_bottom_padding_ics">0.0mm</dimen>
36 <dimen name="popup_key_height">10.0mm</dimen>
Tadashi G. Takaoka6d81e2b2011-04-08 14:45:19 +090037 <dimen name="keyboard_horizontal_edges_padding">0.0mm</dimen>
Tadashi G. Takaokada4bfbb2011-04-06 13:54:37 +090038 <dimen name="mini_keyboard_horizontal_padding_holo">40dip</dimen>
Tadashi G. Takaokacc55d942011-01-01 14:07:04 +090039 <dimen name="mini_keyboard_key_horizontal_padding">12dip</dimen>
Tadashi G. Takaokaf48637a2010-09-29 13:51:06 +090040 <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
Tadashi G. Takaoka59b7bd02010-11-05 18:41:12 +090041 <!-- popup_key_height x 1.2 -->
Tadashi G. Takaoka3e99aa02010-11-10 14:58:15 -080042 <dimen name="mini_keyboard_slide_allowance">15.6mm</dimen>
43 <!-- popup_key_height x -1.0 -->
44 <dimen name="mini_keyboard_vertical_correction">-13.0mm</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090045
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090046 <fraction name="key_letter_ratio">38%</fraction>
47 <fraction name="key_label_ratio">26%</fraction>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090048 <fraction name="key_hint_letter_ratio">23%</fraction>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090049 <fraction name="key_uppercase_letter_ratio">25%</fraction>
Tadashi G. Takaoka703e7252011-06-24 07:58:57 +090050 <fraction name="key_preview_text_ratio">50%</fraction>
51 <dimen name="key_preview_height">15.0mm</dimen>
52 <dimen name="key_preview_offset">0.1in</dimen>
53 <dimen name="key_preview_offset_ics">0.05in</dimen>
Tadashi G. Takaoka5d040422010-12-01 12:22:19 +090054 <!-- left or right padding of label alignment -->
Tadashi G. Takaoka89c58742010-12-08 20:05:34 +090055 <dimen name="key_label_horizontal_alignment_padding">6dip</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090056
Tadashi G. Takaoka89c58742010-12-08 20:05:34 +090057 <dimen name="candidate_strip_height">46dip</dimen>
Tadashi G. Takaoka7a3d3ae2011-04-13 14:12:24 +090058 <!-- candidate_strip_minimum_height =
59 key_preview_height_holo - key_preview_offset_holo + alpha -->
60 <dimen name="candidate_strip_minimum_height">18mm</dimen>
Tadashi G. Takaokae49bd1c2010-12-06 21:26:38 +090061 <dimen name="candidate_strip_padding">15.0mm</dimen>
Tadashi G. Takaoka37b6b442011-05-09 19:49:13 +090062 <dimen name="candidate_min_width">46dip</dimen>
63 <dimen name="candidate_padding">8dip</dimen>
Tadashi G. Takaokae49bd1c2010-12-06 21:26:38 +090064 <dimen name="candidate_text_size">22dip</dimen>
satok91d96f22010-07-20 14:21:54 +090065</resources>