blob: 1c725a48454bb2767410dc9b87000868cddea08f [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">45.0mm</dimen>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090024 <fraction name="minKeyboardHeight">45%p</fraction>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090025
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090026 <fraction name="keyboard_top_padding">2.444%p</fraction>
27 <fraction name="keyboard_bottom_padding">0.0%p</fraction>
28 <fraction name="key_bottom_gap">4.911%p</fraction>
29 <fraction name="key_horizontal_gap">1.284%p</fraction>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090030
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090031 <dimen name="keyboardHeight_stone">45.0mm</dimen>
32 <fraction name="key_bottom_gap_stone">4.355%p</fraction>
33 <fraction name="key_horizontal_gap_stone">1.505%p</fraction>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090034
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090035 <fraction name="key_bottom_gap_gb">5.200%p</fraction>
36 <fraction name="key_horizontal_gap_gb">1.447%p</fraction>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090037
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090038 <fraction name="keyboard_bottom_padding_ics">0.0%p</fraction>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090039
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +090040 <dimen name="popup_key_height">13.0mm</dimen>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090041
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090042 <!-- left or right padding of label alignment -->
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090043 <dimen name="key_label_horizontal_padding">18dip</dimen>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090044
45 <fraction name="key_letter_ratio">45%</fraction>
Tadashi G. Takaoka320346f2011-08-22 19:30:59 +090046 <fraction name="key_large_letter_ratio">48%</fraction>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090047 <fraction name="key_label_ratio">32%</fraction>
48 <fraction name="key_hint_letter_ratio">23%</fraction>
49 <fraction name="key_hint_label_ratio">34%</fraction>
50 <fraction name="key_uppercase_letter_ratio">29%</fraction>
Tadashi G. Takaoka7cc25952011-12-18 00:58:47 +090051 <fraction name="spacebar_text_ratio">33.33%</fraction>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090052
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090053 <dimen name="suggestions_strip_padding">40.0mm</dimen>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +090054 <integer name="max_more_suggestions_row">5</integer>
55 <fraction name="min_more_suggestions_width">50%</fraction>
56 <!-- key_preview_backing_height = more_suggestions_row_height * max_more_suggestions_row -->
57 <dimen name="key_preview_backing_height">220dip</dimen>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090058</resources>