blob: c89a5cdfb3b1cb81febd5f24b65e6ac7d6f9d236 [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">48.0mm</dimen>
24 <fraction name="maxKeyboardHeight">50%p</fraction>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090025 <fraction name="minKeyboardHeight">-35.0%p</fraction>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090026
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090027 <dimen name="popup_key_height">10.0mm</dimen>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090028
29 <dimen name="keyboard_horizontal_edges_padding">0.0mm</dimen>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090030 <dimen name="keyboard_top_padding">1.1mm</dimen>
31 <dimen name="keyboard_bottom_padding">0.0mm</dimen>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090032 <dimen name="key_bottom_gap">1.80mm</dimen>
33 <dimen name="key_horizontal_gap">1.67mm</dimen>
34
35 <dimen name="key_bottom_gap_stone">1.80mm</dimen>
36 <dimen name="key_horizontal_gap_stone">1.44mm</dimen>
37
38 <dimen name="key_bottom_gap_gb">2.22mm</dimen>
39 <dimen name="key_horizontal_gap_gb">1.90mm</dimen>
40
41 <dimen name="key_bottom_gap_ics">1.37mm</dimen>
42 <dimen name="key_horizontal_gap_ics">1.53mm</dimen>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +090043 <dimen name="keyboard_top_padding_ics">1.1mm</dimen>
44 <dimen name="keyboard_bottom_padding_ics">0.0mm</dimen>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090045
46 <dimen name="mini_keyboard_key_horizontal_padding">6dip</dimen>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090047 <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
48 <!-- popup_key_height x 1.2 -->
49 <dimen name="mini_keyboard_slide_allowance">15.6mm</dimen>
50 <!-- popup_key_height x -1.0 -->
51 <dimen name="mini_keyboard_vertical_correction">-13.0mm</dimen>
52
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090053 <!-- left or right padding of label alignment -->
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090054 <dimen name="key_label_horizontal_padding">6dip</dimen>
55 <dimen name="key_hint_letter_padding">3dp</dimen>
56 <dimen name="key_uppercase_letter_padding">3dp</dimen>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090057
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090058 <fraction name="key_letter_ratio">37%</fraction>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090059 <fraction name="key_large_letter_ratio">37%</fraction>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090060 <fraction name="key_label_ratio">22%</fraction>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090061 <fraction name="key_hint_letter_ratio">23%</fraction>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090062 <fraction name="key_hint_label_ratio">26%</fraction>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090063 <fraction name="key_uppercase_letter_ratio">25%</fraction>
Tadashi G. Takaoka703e7252011-06-24 07:58:57 +090064 <fraction name="key_preview_text_ratio">50%</fraction>
65 <dimen name="key_preview_height">15.0mm</dimen>
66 <dimen name="key_preview_offset">0.1in</dimen>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090067
68 <dimen name="key_preview_height_ics">15.0mm</dimen>
Tadashi G. Takaoka703e7252011-06-24 07:58:57 +090069 <dimen name="key_preview_offset_ics">0.05in</dimen>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090070
Tadashi G. Takaoka31182772011-07-01 14:21:25 +090071 <dimen name="candidate_strip_height">44dip</dimen>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090072 <dimen name="candidate_strip_padding">15.0mm</dimen>
73 <dimen name="candidate_min_width">0.3in</dimen>
74 <dimen name="candidate_padding">12dip</dimen>
75 <dimen name="candidate_text_size">22dip</dimen>
76</resources>