Adapt simple keyboard layout to polish language

For the default layout text describing user name is wider than key
where it is placed.
This commit is contained in:
Wiktor Lawski 2014-09-13 17:11:37 +02:00
parent c3ce19cf5a
commit 3be00c87cf
1 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<Keyboard
xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="15.67%p"
android:horizontalGap="0px"
android:verticalGap="@dimen/key_bottom_gap"
android:keyHeight="@dimen/key_height"
>
<Row
android:rowEdgeFlags="top"
>
<Key
android:codes="@integer/key_kp2a_alpha"
android:keyLabel="@string/label_alpha_key"
android:keyWidth="12%p"
android:isModifier="true"
android:keyEdgeFlags="left" />
<Key
android:codes="@integer/key_kp2a_user"
android:keyLabel="@string/kp2a_user"
android:keyWidth="25%p"
/>
<Key
android:codes="@integer/key_kp2a_pass"
android:keyLabel="@string/kp2a_password"
android:keyWidth="15%p"
/>
<Key
android:codes="@integer/key_kp2a"
android:keyIcon="@drawable/sym_keyboard_kp2a"
android:iconPreview="@drawable/sym_keyboard_feedback_kp2a"
android:popupKeyboard="@xml/popup_kp2a"
android:keyWidth="12%p"
android:isModifier="true" />
<Key
android:codes="@integer/key_delete"
android:keyIcon="@drawable/sym_keyboard_delete"
android:iconPreview="@drawable/sym_keyboard_feedback_delete"
android:keyWidth="12%p"
android:isModifier="true"
android:isRepeatable="true"
/>
<Key
android:codes="@integer/key_return"
android:keyIcon="@drawable/sym_keyboard_return"
android:iconPreview="@drawable/sym_keyboard_feedback_return"
android:keyWidth="12%p"
android:isModifier="true"
/>
<Key
android:codes="@integer/key_kp2a_lock"
android:keyIcon="@android:drawable/ic_lock_lock"
android:keyWidth="12%p"
android:isModifier="true"
android:keyEdgeFlags="right" />
</Row>
</Keyboard>