Tune up 7 inch keyboard layout
Bug: 4479212 Change-Id: I25c48ef474f6198dde9b670b23509c087acae149main
parent
e681d671fd
commit
237af54df5
|
@ -21,6 +21,7 @@
|
||||||
<resources>
|
<resources>
|
||||||
<!-- keyboardHeight = key_height*4 + key_bottom_gap*3 -->
|
<!-- keyboardHeight = key_height*4 + key_bottom_gap*3 -->
|
||||||
<dimen name="keyboardHeight">45.0mm</dimen>
|
<dimen name="keyboardHeight">45.0mm</dimen>
|
||||||
|
<fraction name="minKeyboardHeight">45%p</fraction>
|
||||||
<!-- key_height + key_bottom_gap = popup_key_height -->
|
<!-- key_height + key_bottom_gap = popup_key_height -->
|
||||||
<!-- <dimen name="key_height">14.5mm</dimen> -->
|
<!-- <dimen name="key_height">14.5mm</dimen> -->
|
||||||
<dimen name="key_bottom_gap">1.3mm</dimen>
|
<dimen name="key_bottom_gap">1.3mm</dimen>
|
||||||
|
@ -31,10 +32,10 @@
|
||||||
<!-- key_height x 1.0 -->
|
<!-- key_height x 1.0 -->
|
||||||
<dimen name="key_preview_height">13.0mm</dimen>
|
<dimen name="key_preview_height">13.0mm</dimen>
|
||||||
|
|
||||||
<fraction name="key_letter_ratio">30.7%</fraction>
|
<fraction name="key_letter_ratio">45%</fraction>
|
||||||
<fraction name="key_label_ratio">21.9%</fraction>
|
<fraction name="key_label_ratio">32%</fraction>
|
||||||
<fraction name="key_hint_letter_ratio">23%</fraction>
|
<fraction name="key_hint_letter_ratio">23%</fraction>
|
||||||
<fraction name="key_uppercase_letter_ratio">25%</fraction>
|
<fraction name="key_uppercase_letter_ratio">29%</fraction>
|
||||||
<!-- left or right padding of label alignment -->
|
<!-- left or right padding of label alignment -->
|
||||||
<dimen name="key_label_horizontal_alignment_padding">18dip</dimen>
|
<dimen name="key_label_horizontal_alignment_padding">18dip</dimen>
|
||||||
<dimen name="candidate_strip_padding">40.0mm</dimen>
|
<dimen name="candidate_strip_padding">40.0mm</dimen>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<!-- keyboardHeight = key_height*4 + key_bottom_gap*3 -->
|
<!-- keyboardHeight = key_height*4 + key_bottom_gap*3 -->
|
||||||
<dimen name="keyboardHeight">48.0mm</dimen>
|
<dimen name="keyboardHeight">48.0mm</dimen>
|
||||||
<fraction name="maxKeyboardHeight">50%p</fraction>
|
<fraction name="maxKeyboardHeight">50%p</fraction>
|
||||||
<fraction name="minKeyboardHeight">-61.8%p</fraction>
|
<fraction name="minKeyboardHeight">-35.0%p</fraction>
|
||||||
<!-- key_height + key_bottom_gap = popup_key_height -->
|
<!-- key_height + key_bottom_gap = popup_key_height -->
|
||||||
<!-- <dimen name="key_height">14.5mm</dimen> -->
|
<!-- <dimen name="key_height">14.5mm</dimen> -->
|
||||||
<dimen name="key_bottom_gap">1.0mm</dimen>
|
<dimen name="key_bottom_gap">1.0mm</dimen>
|
||||||
|
@ -39,10 +39,10 @@
|
||||||
<!-- popup_key_height x -1.0 -->
|
<!-- popup_key_height x -1.0 -->
|
||||||
<dimen name="mini_keyboard_vertical_correction">-13.0mm</dimen>
|
<dimen name="mini_keyboard_vertical_correction">-13.0mm</dimen>
|
||||||
|
|
||||||
<fraction name="key_letter_ratio">45%</fraction>
|
<fraction name="key_letter_ratio">37%</fraction>
|
||||||
<fraction name="key_label_ratio">29%</fraction>
|
<fraction name="key_label_ratio">22%</fraction>
|
||||||
<fraction name="key_hint_letter_ratio">23%</fraction>
|
<fraction name="key_hint_letter_ratio">23%</fraction>
|
||||||
<fraction name="key_uppercase_letter_ratio">35%</fraction>
|
<fraction name="key_uppercase_letter_ratio">25%</fraction>
|
||||||
<fraction name="key_preview_text_ratio">82%</fraction>
|
<fraction name="key_preview_text_ratio">82%</fraction>
|
||||||
<!-- left or right padding of label alignment -->
|
<!-- left or right padding of label alignment -->
|
||||||
<dimen name="key_label_horizontal_alignment_padding">6dip</dimen>
|
<dimen name="key_label_horizontal_alignment_padding">6dip</dimen>
|
||||||
|
|
|
@ -31,10 +31,10 @@
|
||||||
<dimen name="keyboard_bottom_padding">0.0mm</dimen>
|
<dimen name="keyboard_bottom_padding">0.0mm</dimen>
|
||||||
<dimen name="keyboard_horizontal_edges_padding">0.0mm</dimen>
|
<dimen name="keyboard_horizontal_edges_padding">0.0mm</dimen>
|
||||||
|
|
||||||
<fraction name="key_letter_ratio">30.7%</fraction>
|
<fraction name="key_letter_ratio">38%</fraction>
|
||||||
<fraction name="key_label_ratio">21.9%</fraction>
|
<fraction name="key_label_ratio">26%</fraction>
|
||||||
<fraction name="key_hint_letter_ratio">23%</fraction>
|
<fraction name="key_hint_letter_ratio">23%</fraction>
|
||||||
<fraction name="key_uppercase_letter_ratio">25%</fraction>
|
<fraction name="key_uppercase_letter_ratio">24%</fraction>
|
||||||
<!-- left or right padding of label alignment -->
|
<!-- left or right padding of label alignment -->
|
||||||
<dimen name="key_label_horizontal_alignment_padding">18dip</dimen>
|
<dimen name="key_label_horizontal_alignment_padding">18dip</dimen>
|
||||||
<dimen name="key_preview_height_holo">26.5mm</dimen>
|
<dimen name="key_preview_height_holo">26.5mm</dimen>
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
<resources>
|
<resources>
|
||||||
<!-- keyboardHeight = key_height*4 + key_bottom_gap*3, key_height=12mm -->
|
<!-- keyboardHeight = key_height*4 + key_bottom_gap*3, key_height=12mm -->
|
||||||
<dimen name="keyboardHeight">48.0mm</dimen>
|
<dimen name="keyboardHeight">48.0mm</dimen>
|
||||||
|
<fraction name="maxKeyboardHeight">50%p</fraction>
|
||||||
<fraction name="minKeyboardHeight">-35.0%p</fraction>
|
<fraction name="minKeyboardHeight">-35.0%p</fraction>
|
||||||
<!-- key_height + key_bottom_gap = popup_key_height -->
|
<!-- key_height + key_bottom_gap = popup_key_height -->
|
||||||
<!-- <dimen name="key_height">14.5mm</dimen> -->
|
<!-- <dimen name="key_height">14.5mm</dimen> -->
|
||||||
|
@ -38,10 +39,10 @@
|
||||||
<!-- popup_key_height x -1.0 -->
|
<!-- popup_key_height x -1.0 -->
|
||||||
<dimen name="mini_keyboard_vertical_correction">-13.0mm</dimen>
|
<dimen name="mini_keyboard_vertical_correction">-13.0mm</dimen>
|
||||||
|
|
||||||
<fraction name="key_letter_ratio">34.4%</fraction>
|
<fraction name="key_letter_ratio">38%</fraction>
|
||||||
<fraction name="key_label_ratio">21.2%</fraction>
|
<fraction name="key_label_ratio">26%</fraction>
|
||||||
<fraction name="key_hint_letter_ratio">23%</fraction>
|
<fraction name="key_hint_letter_ratio">23%</fraction>
|
||||||
<fraction name="key_uppercase_letter_ratio">28%</fraction>
|
<fraction name="key_uppercase_letter_ratio">25%</fraction>
|
||||||
<!-- left or right padding of label alignment -->
|
<!-- left or right padding of label alignment -->
|
||||||
<dimen name="key_label_horizontal_alignment_padding">6dip</dimen>
|
<dimen name="key_label_horizontal_alignment_padding">6dip</dimen>
|
||||||
<fraction name="key_preview_text_ratio">26.3%</fraction>
|
<fraction name="key_preview_text_ratio">26.3%</fraction>
|
||||||
|
|
|
@ -17,6 +17,14 @@
|
||||||
<resources>
|
<resources>
|
||||||
<!-- Theme "Basic" -->
|
<!-- Theme "Basic" -->
|
||||||
<style name="Keyboard">
|
<style name="Keyboard">
|
||||||
|
<item name="rowHeight">25%p</item>
|
||||||
|
<item name="keyboardHeight">@dimen/keyboardHeight</item>
|
||||||
|
<item name="maxKeyboardHeight">@fraction/maxKeyboardHeight</item>
|
||||||
|
<item name="minKeyboardHeight">@fraction/minKeyboardHeight</item>
|
||||||
|
<item name="popupKeyboardTemplate">@xml/kbd_popup_template</item>
|
||||||
|
<item name="horizontalGap">@dimen/key_horizontal_gap</item>
|
||||||
|
<item name="verticalGap">@dimen/key_bottom_gap</item>
|
||||||
|
<item name="maxPopupKeyboardColumn">@integer/config_max_popup_keyboard_column</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="LatinKeyboard">
|
<style name="LatinKeyboard">
|
||||||
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="ar"
|
latin:keyboardLocale="ar"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="cs"
|
latin:keyboardLocale="cs"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="da"
|
latin:keyboardLocale="da"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="de"
|
latin:keyboardLocale="de"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
<?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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- TODO: This is work around to avoid resource selection issue. This file must be removed when the
|
|
||||||
issue is sorted out. -->
|
|
||||||
<Keyboard
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="en,en_US,en_GB"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/kbd_qwerty_rows" />
|
|
||||||
</Keyboard>
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="es,es_US"
|
latin:keyboardLocale="es,es_US"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="fi"
|
latin:keyboardLocale="fi"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="fr_CA"
|
latin:keyboardLocale="fr_CA"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="fr_CH"
|
latin:keyboardLocale="fr_CH"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="fr"
|
latin:keyboardLocale="fr"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="hu"
|
latin:keyboardLocale="hu"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="iw"
|
latin:keyboardLocale="iw"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="nb"
|
latin:keyboardLocale="nb"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="pl"
|
latin:keyboardLocale="pl"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="pt"
|
latin:keyboardLocale="pt"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="ru"
|
latin:keyboardLocale="ru"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="sr"
|
latin:keyboardLocale="sr"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="sv"
|
latin:keyboardLocale="sv"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,14 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="50%p"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="16.75%p"
|
latin:keyWidth="16.75%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,14 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="50%p"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="16.75%p"
|
latin:keyWidth="16.75%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,14 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="50%p"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="16.75%p"
|
latin:keyWidth="16.75%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
<?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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<Keyboard
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="50%p"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="10%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/kbd_qwerty_rows" />
|
|
||||||
</Keyboard>
|
|
|
@ -20,13 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="50%p"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,13 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="50%p"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,15 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="13.250%p"
|
latin:keyWidth="13.250%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,15 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="13.250%p"
|
latin:keyWidth="13.250%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,15 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="13.250%p"
|
latin:keyWidth="13.250%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,15 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="26.67%p"
|
latin:keyWidth="26.67%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,15 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="26.67%p"
|
latin:keyWidth="26.67%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,15 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="26.67%p"
|
latin:keyWidth="26.67%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,14 +20,6 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
latin:keyboardLocale="en_GB,en_US"
|
latin:keyboardLocale="en_GB,en_US"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -20,15 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="10%p"
|
latin:keyWidth="10%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -20,15 +20,7 @@
|
||||||
|
|
||||||
<Keyboard
|
<Keyboard
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
|
||||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
|
||||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
|
||||||
latin:rowHeight="25%p"
|
|
||||||
latin:keyWidth="10%p"
|
latin:keyWidth="10%p"
|
||||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
|
||||||
latin:verticalGap="@dimen/key_bottom_gap"
|
|
||||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
|
||||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||||
|
|
|
@ -18,7 +18,6 @@ package com.android.inputmethod.keyboard;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import android.content.res.TypedArray;
|
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
|
@ -173,11 +172,6 @@ public class Keyboard {
|
||||||
mDefaultHeight = mDefaultWidth;
|
mDefaultHeight = mDefaultWidth;
|
||||||
mId = id;
|
mId = id;
|
||||||
mProximityInfo = new ProximityInfo(GRID_WIDTH, GRID_HEIGHT);
|
mProximityInfo = new ProximityInfo(GRID_WIDTH, GRID_HEIGHT);
|
||||||
|
|
||||||
final TypedArray attrs = context.obtainStyledAttributes(
|
|
||||||
null, R.styleable.Keyboard, R.attr.keyboardStyle, R.style.Keyboard);
|
|
||||||
attrs.recycle();
|
|
||||||
|
|
||||||
loadKeyboard(context, xmlLayoutResId);
|
loadKeyboard(context, xmlLayoutResId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -440,7 +434,7 @@ public class Keyboard {
|
||||||
|
|
||||||
private void loadKeyboard(Context context, int xmlLayoutResId) {
|
private void loadKeyboard(Context context, int xmlLayoutResId) {
|
||||||
try {
|
try {
|
||||||
KeyboardParser parser = new KeyboardParser(this, context.getResources());
|
KeyboardParser parser = new KeyboardParser(this, context);
|
||||||
parser.parseKeyboard(xmlLayoutResId);
|
parser.parseKeyboard(xmlLayoutResId);
|
||||||
// mMinWidth is the width of this keyboard which is maximum width of row.
|
// mMinWidth is the width of this keyboard which is maximum width of row.
|
||||||
mMinWidth = parser.getMaxRowWidth();
|
mMinWidth = parser.getMaxRowWidth();
|
||||||
|
|
|
@ -121,6 +121,7 @@ public class KeyboardParser {
|
||||||
public static final String TAG_KEY_STYLE = "key-style";
|
public static final String TAG_KEY_STYLE = "key-style";
|
||||||
|
|
||||||
private final Keyboard mKeyboard;
|
private final Keyboard mKeyboard;
|
||||||
|
private final Context mContext;
|
||||||
private final Resources mResources;
|
private final Resources mResources;
|
||||||
|
|
||||||
private int mHorizontalEdgesPadding;
|
private int mHorizontalEdgesPadding;
|
||||||
|
@ -131,8 +132,10 @@ public class KeyboardParser {
|
||||||
private Row mCurrentRow = null;
|
private Row mCurrentRow = null;
|
||||||
private final KeyStyles mKeyStyles = new KeyStyles();
|
private final KeyStyles mKeyStyles = new KeyStyles();
|
||||||
|
|
||||||
public KeyboardParser(Keyboard keyboard, Resources res) {
|
public KeyboardParser(Keyboard keyboard, Context context) {
|
||||||
mKeyboard = keyboard;
|
mKeyboard = keyboard;
|
||||||
|
mContext = context;
|
||||||
|
final Resources res = context.getResources();
|
||||||
mResources = res;
|
mResources = res;
|
||||||
mHorizontalEdgesPadding = (int)res.getDimension(R.dimen.keyboard_horizontal_edges_padding);
|
mHorizontalEdgesPadding = (int)res.getDimension(R.dimen.keyboard_horizontal_edges_padding);
|
||||||
}
|
}
|
||||||
|
@ -187,8 +190,9 @@ public class KeyboardParser {
|
||||||
|
|
||||||
private void parseKeyboardAttributes(XmlResourceParser parser) {
|
private void parseKeyboardAttributes(XmlResourceParser parser) {
|
||||||
final Keyboard keyboard = mKeyboard;
|
final Keyboard keyboard = mKeyboard;
|
||||||
final TypedArray keyboardAttr = mResources.obtainAttributes(Xml.asAttributeSet(parser),
|
final TypedArray keyboardAttr = mContext.obtainStyledAttributes(
|
||||||
R.styleable.Keyboard);
|
Xml.asAttributeSet(parser), R.styleable.Keyboard, R.attr.keyboardStyle,
|
||||||
|
R.style.Keyboard);
|
||||||
final TypedArray keyAttr = mResources.obtainAttributes(Xml.asAttributeSet(parser),
|
final TypedArray keyAttr = mResources.obtainAttributes(Xml.asAttributeSet(parser),
|
||||||
R.styleable.Keyboard_Key);
|
R.styleable.Keyboard_Key);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue