Extended number row support to every keyboards for tablets

This commit is contained in:
pdroidandroid@gmail.com 2022-03-07 12:00:49 +01:00
parent 56dd5bb8d9
commit bc49c488a6
39 changed files with 524 additions and 31 deletions

View file

@ -26,6 +26,18 @@
<!-- TODO: Consolidate the layout specification between protrait and landscape.
Ideally just the keyWidth should be different and the spacer should adjust to fill
the available space. -->
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<!-- First row -->
<Row
latin:keyWidth="8.182%p"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="9%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="9.0%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto" >
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyLabelFlags="fontNormal"
latin:keyWidth="8.182%p" >

View file

@ -19,20 +19,44 @@
-->
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<Row latin:keyLabelFlags="fontNormal" latin:keyWidth="9.0%p">
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1" />
<Key latin:keyStyle="deleteKeyStyle" latin:keyWidth="fillRight" />
<include latin:keyboardLayout="@xml/key_styles_common"/>
<switch>
<case latin:numberRowEnabled="true">
<Row latin:keyWidth="10%p">
<include latin:keyboardLayout="@xml/rowkeys_symbols1"/>
</Row>
</case>
</switch>
<Row
latin:keyLabelFlags="fontNormal"
latin:keyWidth="9.0%p">
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1"/>
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight"/>
</Row>
<Row latin:keyLabelFlags="fontNormal">
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2" latin:keyXPos="4.5%p" latin:keyWidth="9.0%p" />
<Key latin:keyStyle="enterKeyStyle" latin:keyWidth="fillRight" />
<include
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2"
latin:keyXPos="4.5%p"
latin:keyWidth="9.0%p"/>
<Key
latin:keyStyle="enterKeyStyle"
latin:keyWidth="fillRight"/>
</Row>
<Row latin:keyLabelFlags="fontNormal">
<Key latin:keyStyle="shiftKeyStyle" latin:keyWidth="10.0%p" />
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3" latin:keyWidth="9.0%p" />
<include latin:keyboardLayout="@xml/keys_exclamation_question" latin:keyWidth="9.0%p" />
<Key latin:keyStyle="shiftKeyStyle" latin:keyWidth="fillRight" />
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="10.0%p"/>
<include
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3"
latin:keyWidth="9.0%p"/>
<include
latin:keyboardLayout="@xml/keys_exclamation_question"
latin:keyWidth="9.0%p"/>
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="fillRight"/>
</Row>
<include latin:keyboardLayout="@xml/row_qwerty4" />
<include latin:keyboardLayout="@xml/row_qwerty4"/>
</merge>

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
>

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
>

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
>

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
>

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal"

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="9.0%p"
>

View file

@ -26,6 +26,18 @@
<!-- TODO: Consolidate the layout specification between protrait and landscape.
Ideally just the keyWidth should be different and the spacer should adjust to fill
the available space. -->
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<!-- First row -->
<Row
latin:keyWidth="8.182%p"

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="9.0%p"
>

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="9.0%p"
>

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal|autoXScale"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="7.5%p"
latin:keyLabelFlags="fontNormal|autoXScale"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="7.5%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal|autoXScale"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal"

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
>

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal"

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
>

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal|autoXScale"

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
>

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="9.0%p"
>

View file

@ -23,6 +23,18 @@
>
<include
latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
>

View file

@ -25,15 +25,38 @@
latin:keyboardLayout="@xml/key_styles_common" />
<include
latin:keyboardLayout="@xml/key_styles_currency" />
<Row
latin:keyWidth="9.0%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" />
</Row>
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
<Row
latin:keyWidth="9.0%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols_shift1" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" />
</Row>
</case>
<default>
<Row
latin:keyWidth="9.0%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" />
</Row>
</default>
</switch>
<Row
latin:keyWidth="9.0%p"
>

View file

@ -25,6 +25,18 @@
latin:keyboardLayout="@xml/key_styles_common" />
<include
latin:keyboardLayout="@xml/key_styles_currency" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="9.0%p"
>

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal|autoXScale"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="8.182%p"
latin:keyLabelFlags="fontNormal|autoXScale"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row
latin:keyWidth="7.5%p"
latin:keyLabelFlags="fontNormal"

View file

@ -20,6 +20,18 @@
<merge xmlns:latin="http://schemas.android.com/apk/res-auto" >
<include latin:keyboardLayout="@xml/key_styles_common" />
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<Row latin:keyWidth="8.182%p" >
<include latin:keyboardLayout="@xml/rowkeys_uzbek1" />
<Key

View file

@ -25,6 +25,18 @@
latin:keyboardLayout="@xml/key_styles_common" />
Ideally just the keyWidth should be different and the spacer should adjust to fill
the available space. -->
<switch>
<case
latin:numberRowEnabled="true"
>
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/rowkeys_symbols1" />
</Row>
</case>
</switch>
<!-- First row -->
<Row>
<include

View file

@ -19,24 +19,38 @@
-->
<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
<include latin:keyboardLayout="@xml/key_styles_common" />
<include latin:keyboardLayout="@xml/key_styles_common"/>
<switch>
<case latin:numberRowEnabled="true">
<Row latin:keyWidth="10%p">
<include latin:keyboardLayout="@xml/rowkeys_symbols1" />
<include latin:keyboardLayout="@xml/rowkeys_symbols1"/>
</Row>
</case>
</switch>
<Row latin:keyLabelFlags="fontNormal" latin:keyWidth="10%p">
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1" />
<Row
latin:keyLabelFlags="fontNormal"
latin:keyWidth="10%p">
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy1"/>
</Row>
<Row latin:keyLabelFlags="fontNormal" latin:keyWidth="10%p">
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2" latin:keyXPos="5%p" />
<Row
latin:keyLabelFlags="fontNormal"
latin:keyWidth="10%p">
<include
latin:keyboardLayout="@xml/rowkeys_bengali_unijoy2"
latin:keyXPos="5%p"/>
</Row>
<Row latin:keyLabelFlags="fontNormal" latin:keyWidth="10%p">
<Key latin:keyStyle="shiftKeyStyle" latin:keyWidth="15%p" latin:visualInsetsRight="1%p" />
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3" />
<Key latin:keyStyle="deleteKeyStyle" latin:keyWidth="fillRight" latin:visualInsetsLeft="1%p" />
<Row
latin:keyLabelFlags="fontNormal"
latin:keyWidth="10%p">
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="15%p"
latin:visualInsetsRight="1%p"/>
<include latin:keyboardLayout="@xml/rowkeys_bengali_unijoy3"/>
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight"
latin:visualInsetsLeft="1%p"/>
</Row>
<include latin:keyboardLayout="@xml/row_qwerty4" />
<include latin:keyboardLayout="@xml/row_qwerty4"/>
</merge>