blob: 2fa47ae5290cb11a9088342b3541a62562e423a5 [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>
25 <dimen name="popup_key_height">0.325in</dimen>
26 <dimen name="keyboard_bottom_padding">0.06in</dimen>
27 <!-- key_height x 1.6 -->
28 <dimen name="key_preview_height">0.464in</dimen>
29 <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
30 <!-- popup_key_height x 1.7 -->
31 <dimen name="mini_keyboard_slide_allowance">0.553in</dimen>
32 <!-- popup_key_height x 1.0 -->
33 <dimen name="mini_keyboard_vertical_correction">-0.325in</dimen>
34
35 <dimen name="key_text_size">0.13in</dimen>
36 <dimen name="key_label_text_size">0.083in</dimen>
37 <dimen name="key_preview_text_size_large">0.236in</dimen>
38 <dimen name="key_preview_offset">0.000in</dimen>
39 <!-- 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
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -070043 <dimen name="candidate_strip_height">42dip</dimen>
Ken Wakasa749b1ea2010-09-16 20:21:30 +090044 <dimen name="candidate_strip_fading_edge_length">63dip</dimen>
Amith Yamasani6a001f52009-08-20 18:35:30 -070045 <dimen name="spacebar_vertical_correction">4dip</dimen>
satok979f8692010-08-20 14:35:02 +090046 <!-- If the screen height in landscape is larger than the below value, then the keyboard
47 will not go into extract (fullscreen) mode. -->
48 <dimen name="max_height_for_fullscreen">2.5in</dimen>
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090049 <dimen name="bubble_pointer_offset">22dip</dimen>
50
Tadashi G. Takaoka2b4cc0d2010-09-28 14:35:21 +090051 <dimen name="key_hysteresis_distance">0.05in</dimen>
Tadashi G. Takaoka179ada92010-09-29 14:30:01 +090052 <dimen name="candidate_min_touchable_width">0.3in</dimen>
satok979f8692010-08-20 14:35:02 +090053</resources>