blob: 2cfc17de97727abf1d5548ee5a196135266c6c18 [file] [log] [blame]
The Android Open Source Project923bf412009-03-13 15:11:42 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2008, 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=0.290in -->
Tadashi G. Takaoka9f01ed52010-12-08 14:36:41 +090023 <dimen name="keyboardHeight">1.265in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090024 <!-- key_height + key_bottom_gap = popup_key_height -->
Tadashi G. Takaoka98935832010-12-15 17:11:37 +090025 <!-- <dimen name="key_height">0.290in</dimen> -->
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090026 <dimen name="key_bottom_gap">0.035in</dimen>
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090027 <dimen name="key_horizontal_gap">0.000in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090028 <dimen name="popup_key_height">0.325in</dimen>
Tadashi G. Takaoka3e99aa02010-11-10 14:58:15 -080029 <dimen name="keyboard_top_padding">0.00in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090030 <dimen name="keyboard_bottom_padding">0.06in</dimen>
Tadashi G. Takaokada4bfbb2011-04-06 13:54:37 +090031 <dimen name="mini_keyboard_horizontal_padding">16dip</dimen>
32 <dimen name="mini_keyboard_horizontal_padding_holo">32dip</dimen>
Tadashi G. Takaokacc55d942011-01-01 14:07:04 +090033 <dimen name="mini_keyboard_key_horizontal_padding">8dip</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090034 <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
Tadashi G. Takaoka59b7bd02010-11-05 18:41:12 +090035 <!-- popup_key_height x 1.2 -->
36 <dimen name="mini_keyboard_slide_allowance">0.390in</dimen>
Tadashi G. Takaoka3e99aa02010-11-10 14:58:15 -080037 <!-- popup_key_height x -1.0 -->
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090038 <dimen name="mini_keyboard_vertical_correction">-0.325in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090039 <!-- We use "inch", not "dip" because this value tries dealing with physical distance related
40 to user's finger. -->
41 <dimen name="keyboard_vertical_correction">-0.05in</dimen>
42
Tadashi G. Takaokada4bfbb2011-04-06 13:54:37 +090043 <dimen name="key_letter_size">0.13in</dimen>
44 <dimen name="key_label_text_size">0.083in</dimen>
45 <!-- left or right padding of label alignment -->
46 <dimen name="key_label_horizontal_alignment_padding">0.13in</dimen>
47 <dimen name="key_preview_height">80sp</dimen>
48 <dimen name="key_preview_offset">0.000in</dimen>
49 <dimen name="key_preview_text_size_large">36sp</dimen>
50 <dimen name="key_preview_height_holo">130sp</dimen>
51 <dimen name="key_preview_offset_holo">0.193in</dimen>
52
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -070053 <dimen name="candidate_strip_height">42dip</dimen>
Ken Wakasa749b1ea2010-09-16 20:21:30 +090054 <dimen name="candidate_strip_fading_edge_length">63dip</dimen>
Tadashi G. Takaokae49bd1c2010-12-06 21:26:38 +090055 <dimen name="candidate_strip_padding">0dip</dimen>
Tadashi G. Takaoka4700a6f2010-12-13 15:21:15 +090056 <dimen name="candidate_min_width">0.3in</dimen>
Tadashi G. Takaoka41f7fb52011-01-14 14:02:46 +090057 <dimen name="candidate_padding">6dip</dimen>
Tadashi G. Takaokae49bd1c2010-12-06 21:26:38 +090058 <dimen name="candidate_text_size">18dip</dimen>
Amith Yamasani6a001f52009-08-20 18:35:30 -070059 <dimen name="spacebar_vertical_correction">4dip</dimen>
satok979f8692010-08-20 14:35:02 +090060 <!-- If the screen height in landscape is larger than the below value, then the keyboard
61 will not go into extract (fullscreen) mode. -->
62 <dimen name="max_height_for_fullscreen">2.5in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090063 <dimen name="bubble_pointer_offset">22dip</dimen>
64
Tadashi G. Takaoka2b4cc0d2010-09-28 14:35:21 +090065 <dimen name="key_hysteresis_distance">0.05in</dimen>
satok979f8692010-08-20 14:35:02 +090066</resources>