Fix xlarge min-keyboard layout

Change-Id: Ia4d6cffa0c6cf710da577b75f6337836352959a0
main
Tadashi G. Takaoka 2010-09-28 14:35:21 +09:00
parent b514d3f1f8
commit 2b4cc0db61
6 changed files with 38 additions and 6 deletions

View File

@ -23,5 +23,8 @@
<dimen name="candidate_strip_height">46dip</dimen> <dimen name="candidate_strip_height">46dip</dimen>
<dimen name="spacebar_vertical_correction">0dip</dimen> <dimen name="spacebar_vertical_correction">0dip</dimen>
<dimen name="key_text_size">28sp</dimen> <dimen name="key_text_size">28sp</dimen>
<dimen name="key_label_text_size">16sp</dimen>
<dimen name="key_preview_offset">0dip</dimen>
<dimen name="key_preview_height">40dip</dimen>
<dimen name="keyboard_vertical_correction">0dip</dimen> <dimen name="keyboard_vertical_correction">0dip</dimen>
</resources> </resources>

View File

@ -28,8 +28,12 @@
will not go into extract (fullscreen) mode. --> will not go into extract (fullscreen) mode. -->
<dimen name="max_height_for_fullscreen">2.5in</dimen> <dimen name="max_height_for_fullscreen">2.5in</dimen>
<dimen name="key_text_size">22sp</dimen> <dimen name="key_text_size">22sp</dimen>
<dimen name="key_label_text_size">14sp</dimen>
<dimen name="key_preview_offset">0dip</dimen>
<dimen name="key_preview_height">80dip</dimen>
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. --> <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
<!-- key_height * 1.7 --> <!-- key_height * 1.7 -->
<dimen name="mini_keyboard_slide_allowance">91.8dip</dimen> <dimen name="mini_keyboard_slide_allowance">91.8dip</dimen>
<dimen name="key_hysteresis_distance">0.05in</dimen>
<dimen name="keyboard_vertical_correction">-10dip</dimen> <dimen name="keyboard_vertical_correction">-10dip</dimen>
</resources> </resources>

View File

@ -22,11 +22,11 @@
<item name="keyTextSize">@dimen/key_text_size</item> <item name="keyTextSize">@dimen/key_text_size</item>
<item name="keyTextColor">#FFFFFFFF</item> <item name="keyTextColor">#FFFFFFFF</item>
<item name="keyPreviewLayout">@layout/key_preview</item> <item name="keyPreviewLayout">@layout/key_preview</item>
<item name="keyPreviewOffset">0dip</item> <item name="keyPreviewOffset">@dimen/key_preview_offset</item>
<item name="keyPreviewHeight">80dip</item> <item name="keyPreviewHeight">@dimen/key_preview_height</item>
<item name="labelTextSize">14sp</item> <item name="labelTextSize">@dimen/key_label_text_size</item>
<item name="popupLayout">@layout/keyboard_popup</item> <item name="popupLayout">@layout/keyboard_popup</item>
<item name="keyHysteresisDistance">0.05in</item> <item name="keyHysteresisDistance">@dimen/key_hysteresis_distance</item>
<item name="verticalCorrection">@dimen/keyboard_vertical_correction</item> <item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
<item name="shadowColor">#BB000000</item> <item name="shadowColor">#BB000000</item>
<item name="shadowRadius">2.75</item> <item name="shadowRadius">2.75</item>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2008, 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:android="http://schemas.android.com/apk/res/android"
android:keyWidth="7.5%p"
android:horizontalGap="0px"
android:verticalGap="0px"
android:keyHeight="@dimen/key_height"
>
</Keyboard>

View File

@ -30,7 +30,6 @@
<Key <Key
android:codes="@integer/key_tab" android:codes="@integer/key_tab"
android:keyLabel="Tab" android:keyLabel="Tab"
android:popupKeyboard="@xml/kbd_popup_template"
android:keyEdgeFlags="left" /> android:keyEdgeFlags="left" />
<Key <Key
android:keyLabel="q" android:keyLabel="q"

View File

@ -30,7 +30,6 @@
<Key <Key
android:codes="@integer/key_tab" android:codes="@integer/key_tab"
android:keyLabel="Tab" android:keyLabel="Tab"
android:popupKeyboard="@xml/kbd_popup_template"
android:keyEdgeFlags="left" /> android:keyEdgeFlags="left" />
<Key <Key
android:keyLabel="∞" /> android:keyLabel="∞" />