2011-05-30 12:12:04 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
**
|
|
|
|
** Copyright 2011, The Android Open Source Project
|
|
|
|
**
|
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
** You may obtain a copy of the License at
|
|
|
|
**
|
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
**
|
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
** See the License for the specific language governing permissions and
|
|
|
|
** limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
|
|
|
|
<resources>
|
2012-03-21 09:17:21 +00:00
|
|
|
<!-- Preferable keyboard height in absolute scale: 45.0mm -->
|
|
|
|
<!-- This keyboardHeight value should match with keyboard-heights.xml -->
|
|
|
|
<dimen name="keyboardHeight">283.5dp</dimen>
|
2011-06-17 03:55:42 +01:00
|
|
|
<fraction name="minKeyboardHeight">45%p</fraction>
|
2011-06-28 08:32:39 +01:00
|
|
|
|
2013-08-27 07:15:44 +01:00
|
|
|
<fraction name="keyboard_top_padding_gb">2.444%p</fraction>
|
|
|
|
<fraction name="keyboard_bottom_padding_gb">0.0%p</fraction>
|
2011-07-04 07:09:21 +01:00
|
|
|
<fraction name="key_bottom_gap_gb">5.200%p</fraction>
|
|
|
|
<fraction name="key_horizontal_gap_gb">1.447%p</fraction>
|
2011-06-28 08:32:39 +01:00
|
|
|
|
2013-11-11 09:49:28 +00:00
|
|
|
<fraction name="keyboard_top_padding_holo">2.727%p</fraction>
|
|
|
|
<fraction name="keyboard_bottom_padding_holo">0.0%p</fraction>
|
|
|
|
<fraction name="key_bottom_gap_holo">4.5%p</fraction>
|
|
|
|
<fraction name="key_horizontal_gap_holo">0.9%p</fraction>
|
2011-06-28 08:32:39 +01:00
|
|
|
|
2012-03-21 11:11:46 +00:00
|
|
|
<dimen name="popup_key_height">81.9dp</dimen>
|
2011-05-30 12:12:04 +01:00
|
|
|
|
2011-06-25 11:38:55 +01:00
|
|
|
<!-- left or right padding of label alignment -->
|
2012-03-21 10:08:58 +00:00
|
|
|
<dimen name="key_label_horizontal_padding">18dp</dimen>
|
2011-06-25 11:38:55 +01:00
|
|
|
|
2012-05-01 11:33:22 +01:00
|
|
|
<fraction name="key_letter_ratio">50%</fraction>
|
2011-08-22 11:30:59 +01:00
|
|
|
<fraction name="key_large_letter_ratio">48%</fraction>
|
2011-06-17 03:55:42 +01:00
|
|
|
<fraction name="key_label_ratio">32%</fraction>
|
2011-06-15 04:36:53 +01:00
|
|
|
<fraction name="key_hint_letter_ratio">23%</fraction>
|
2011-06-25 11:38:55 +01:00
|
|
|
<fraction name="key_hint_label_ratio">34%</fraction>
|
2011-06-17 03:55:42 +01:00
|
|
|
<fraction name="key_uppercase_letter_ratio">29%</fraction>
|
2012-05-01 11:33:22 +01:00
|
|
|
<fraction name="spacebar_text_ratio">30.0%</fraction>
|
2012-08-31 11:12:12 +01:00
|
|
|
<dimen name="key_uppercase_letter_padding">4dp</dimen>
|
|
|
|
|
2012-08-31 11:19:35 +01:00
|
|
|
<!-- For 5-row keyboard -->
|
|
|
|
<fraction name="key_bottom_gap_5row">3.20%p</fraction>
|
|
|
|
<fraction name="key_letter_ratio_5row">62%</fraction>
|
|
|
|
<fraction name="key_uppercase_letter_ratio_5row">36%</fraction>
|
2011-06-25 11:38:55 +01:00
|
|
|
|
2012-03-21 11:11:46 +00:00
|
|
|
<dimen name="suggestions_strip_padding">252.0dp</dimen>
|
2011-09-05 09:22:34 +01:00
|
|
|
<integer name="max_more_suggestions_row">5</integer>
|
|
|
|
<fraction name="min_more_suggestions_width">50%</fraction>
|
2012-09-05 11:03:02 +01:00
|
|
|
|
|
|
|
<!-- Gesture floating preview text parameters -->
|
|
|
|
<dimen name="gesture_floating_preview_text_size">26dp</dimen>
|
|
|
|
<dimen name="gesture_floating_preview_text_offset">76dp</dimen>
|
|
|
|
<dimen name="gesture_floating_preview_horizontal_padding">26dp</dimen>
|
|
|
|
<dimen name="gesture_floating_preview_vertical_padding">17dp</dimen>
|
2013-09-17 04:51:22 +01:00
|
|
|
|
|
|
|
<!-- Emoji keyboard -->
|
|
|
|
<fraction name="emoji_keyboard_key_width">10%p</fraction>
|
|
|
|
<fraction name="emoji_keyboard_row_height">33%p</fraction>
|
2013-10-04 12:00:05 +01:00
|
|
|
<fraction name="emoji_keyboard_key_letter_size">70%p</fraction>
|
2013-09-17 04:51:22 +01:00
|
|
|
<integer name="emoji_keyboard_max_key_count">30</integer>
|
|
|
|
|
2011-05-30 12:12:04 +01:00
|
|
|
</resources>
|