Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d8a4eb3 authored by satok's avatar satok
Browse files

Add pl keyboard layout

Bug: 4394303

Change-Id: I0fa24829e1240549728d9b81af3e39a024725016
parent ec5ae3a1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -283,6 +283,8 @@
    <string name="subtype_mode_nb_keyboard">Norwegian Keyboard</string>
    <!-- Description for Dutch keyboard subtype [CHAR LIMIT=35] -->
    <string name="subtype_mode_nl_keyboard">Dutch Keyboard</string>
    <!-- Description for Polish keyboard subtype [CHAR LIMIT=35] -->
    <string name="subtype_mode_pl_keyboard">Polish Keyboard</string>
    <!-- Description for Russian keyboard subtype [CHAR LIMIT=35] -->
    <string name="subtype_mode_ru_keyboard">Russian Keyboard</string>
    <!-- Description for Serbian keyboard subtype [CHAR LIMIT=35] -->
+35 −0
Original line number Diff line number Diff line
<?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"
    latin:keyboardLocale="pl_PL"
>
    <include
        latin:keyboardLayout="@xml/kbd_qwerty_rows" />
</Keyboard>
+5 −0
Original line number Diff line number Diff line
@@ -145,6 +145,11 @@
<!--             android:imeSubtypeMode="voice" -->
<!--             android:imeSubtypeExtraValue="excludeFromLastInputMethod,requireNetworkConnectivity" -->
<!--     /> -->
    <subtype android:icon="@drawable/ic_subtype_keyboard"
            android:label="@string/subtype_mode_pl_keyboard"
            android:imeSubtypeLocale="pl"
            android:imeSubtypeMode="keyboard"
    />
    <subtype android:icon="@drawable/ic_subtype_keyboard"
            android:label="@string/subtype_mode_ru_keyboard"
            android:imeSubtypeLocale="ru"