blob: 0073835fda507903ea76e790e8eb1373685ec25e [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. Takaokacd7b7d32010-10-12 15:02:44 +090022 <!-- key_height + key_bottom_gap = popup_key_height -->
23 <dimen name="key_height">0.290in</dimen>
24 <dimen name="key_bottom_gap">0.035in</dimen>
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090025 <dimen name="key_horizontal_gap">0.000in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090026 <dimen name="popup_key_height">0.325in</dimen>
Tadashi G. Takaoka3e99aa02010-11-10 14:58:15 -080027 <dimen name="keyboard_top_padding">0.00in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090028 <dimen name="keyboard_bottom_padding">0.06in</dimen>
satokfe058482010-10-29 19:52:42 +090029 <!-- key_preview_text_size_large x 2 -->
30 <dimen name="key_preview_height">80sp</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090031 <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
Tadashi G. Takaoka59b7bd02010-11-05 18:41:12 +090032 <!-- popup_key_height x 1.2 -->
33 <dimen name="mini_keyboard_slide_allowance">0.390in</dimen>
Tadashi G. Takaoka3e99aa02010-11-10 14:58:15 -080034 <!-- popup_key_height x -1.0 -->
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090035 <dimen name="mini_keyboard_vertical_correction">-0.325in</dimen>
36
37 <dimen name="key_text_size">0.13in</dimen>
38 <dimen name="key_label_text_size">0.083in</dimen>
satokfe058482010-10-29 19:52:42 +090039 <dimen name="key_preview_text_size_large">40sp</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090040 <dimen name="key_preview_offset">0.000in</dimen>
41 <!-- We use "inch", not "dip" because this value tries dealing with physical distance related
42 to user's finger. -->
43 <dimen name="keyboard_vertical_correction">-0.05in</dimen>
44
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -070045 <dimen name="candidate_strip_height">42dip</dimen>
Ken Wakasa749b1ea2010-09-16 20:21:30 +090046 <dimen name="candidate_strip_fading_edge_length">63dip</dimen>
Amith Yamasani6a001f52009-08-20 18:35:30 -070047 <dimen name="spacebar_vertical_correction">4dip</dimen>
satok979f8692010-08-20 14:35:02 +090048 <!-- If the screen height in landscape is larger than the below value, then the keyboard
49 will not go into extract (fullscreen) mode. -->
50 <dimen name="max_height_for_fullscreen">2.5in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090051 <dimen name="bubble_pointer_offset">22dip</dimen>
52
Tadashi G. Takaoka2b4cc0d2010-09-28 14:35:21 +090053 <dimen name="key_hysteresis_distance">0.05in</dimen>
Tadashi G. Takaoka179ada92010-09-29 14:30:01 +090054 <dimen name="candidate_min_touchable_width">0.3in</dimen>
satok979f8692010-08-20 14:35:02 +090055</resources>