Modularize keyboard XML files
* Remove duplicated xml-sw768dp/keys_apostrophe_dash.xml * Separate keys_apostrophe_dash.xml to key_apostorhe.xml and key_dash.ml * Separate key_space.xml from row_qwerty4.xml * Separate key_f1.xml from xml{,-sw600dp}/row_qwerty4.xml * Separate keys_f1f2.xml from xml-sw768dp/row_qwerty4.xml * Fix incorrectly named rows_symbols{,_shift}4.xml to row_symbols{,_shift}4.xml Change-Id: Id71967a016a348174d1fc265b654dbc233c6562emain
parent
6bfd5f6319
commit
9fa0a2e83f
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2012, 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"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rows_10_10_7_symbols" />
|
|
||||||
</Keyboard>
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2012, 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"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rows_10_10_7_symbols_shift" />
|
|
||||||
</Keyboard>
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** Copyright 2011, The Android Open Source Project
|
** Copyright 2012, The Android Open Source Project
|
||||||
**
|
**
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** you may not use this file except in compliance with the License.
|
** you may not use this file except in compliance with the License.
|
||||||
|
@ -45,19 +45,4 @@
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||||
</default>
|
</default>
|
||||||
</switch>
|
</switch>
|
||||||
<switch>
|
|
||||||
<case
|
|
||||||
latin:mode="email"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="_" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_dash"
|
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_dash"
|
|
||||||
latin:moreKeys="!text/more_keys_for_dash"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
</merge>
|
</merge>
|
|
@ -18,9 +18,22 @@
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<Keyboard
|
<merge
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
>
|
>
|
||||||
<include
|
<switch>
|
||||||
latin:keyboardLayout="@xml/rows_10_10_7_symbols" />
|
<case
|
||||||
</Keyboard>
|
latin:mode="email"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="_" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="!text/keylabel_for_dash"
|
||||||
|
latin:keyHintLabel="!text/keyhintlabel_for_dash"
|
||||||
|
latin:moreKeys="!text/more_keys_for_dash"
|
||||||
|
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
|
@ -0,0 +1,45 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** Copyright 2012, 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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:mode="email"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="comKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:mode="url"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="comKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="/"
|
||||||
|
latin:keyHintLabel="\@"
|
||||||
|
latin:moreKeys="\@"
|
||||||
|
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
|
@ -18,9 +18,25 @@
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<Keyboard
|
<merge
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
>
|
>
|
||||||
<include
|
<switch>
|
||||||
latin:keyboardLayout="@xml/rows_10_10_7_symbols_shift" />
|
<case
|
||||||
</Keyboard>
|
latin:languageCode="fa"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyXPos="30.750%p"
|
||||||
|
latin:keyWidth="30.850%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="zwnjKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyXPos="30.750%p"
|
||||||
|
latin:keyWidth="39.750%p" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
|
@ -29,45 +29,10 @@
|
||||||
latin:keyWidth="13.0%p" />
|
latin:keyWidth="13.0%p" />
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="tabKeyStyle" />
|
latin:keyStyle="tabKeyStyle" />
|
||||||
<switch>
|
<include
|
||||||
<case
|
latin:keyboardLayout="@xml/key_f1" />
|
||||||
latin:mode="email"
|
<include
|
||||||
>
|
latin:keyboardLayout="@xml/key_space" />
|
||||||
<Key
|
|
||||||
latin:keyStyle="comKeyStyle" />
|
|
||||||
</case>
|
|
||||||
<case
|
|
||||||
latin:mode="url"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="comKeyStyle" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="/"
|
|
||||||
latin:keyHintLabel="\@"
|
|
||||||
latin:moreKeys="\@"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
<switch>
|
|
||||||
<case
|
|
||||||
latin:languageCode="fa"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="spaceKeyStyle"
|
|
||||||
latin:keyXPos="30.750%p"
|
|
||||||
latin:keyWidth="30.850%p" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="zwnjKeyStyle" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="spaceKeyStyle"
|
|
||||||
latin:keyXPos="30.750%p"
|
|
||||||
latin:keyWidth="39.750%p" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
<switch>
|
<switch>
|
||||||
<case
|
<case
|
||||||
latin:languageCode="iw"
|
latin:languageCode="iw"
|
||||||
|
@ -78,7 +43,9 @@
|
||||||
<!-- not languageCode="iw" -->
|
<!-- not languageCode="iw" -->
|
||||||
<default>
|
<default>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/keys_apostrophe_dash" />
|
latin:keyboardLayout="@xml/key_apostrophe" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_dash" />
|
||||||
</default>
|
</default>
|
||||||
</switch>
|
</switch>
|
||||||
<Spacer
|
<Spacer
|
||||||
|
|
|
@ -58,5 +58,5 @@
|
||||||
latin:keyWidth="fillRight" />
|
latin:keyWidth="fillRight" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols4" />
|
latin:keyboardLayout="@xml/row_symbols4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -54,5 +54,5 @@
|
||||||
latin:keyboardLayout="@xml/rowkeys_symbols_shift3" />
|
latin:keyboardLayout="@xml/rowkeys_symbols_shift3" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols_shift4" />
|
latin:keyboardLayout="@xml/row_symbols_shift4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -27,7 +27,9 @@
|
||||||
latin:keyWidth="8.5%p"
|
latin:keyWidth="8.5%p"
|
||||||
>
|
>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/keys_apostrophe_dash" />
|
latin:keyboardLayout="@xml/key_apostrophe" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_dash" />
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rowkeys_hebrew1" />
|
latin:keyboardLayout="@xml/rowkeys_hebrew1" />
|
||||||
<Key
|
<Key
|
||||||
|
|
|
@ -58,5 +58,5 @@
|
||||||
latin:keyWidth="fillRight" />
|
latin:keyWidth="fillRight" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols4" />
|
latin:keyboardLayout="@xml/row_symbols4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -54,5 +54,5 @@
|
||||||
latin:keyboardLayout="@xml/rowkeys_symbols_shift3" />
|
latin:keyboardLayout="@xml/rowkeys_symbols_shift3" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols_shift4" />
|
latin:keyboardLayout="@xml/row_symbols_shift4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** Copyright 2012, 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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:languageCode="fa"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyXPos="31.250%p"
|
||||||
|
latin:keyWidth="29.453%p" />
|
||||||
|
<!-- U+200C: "" ZERO WIDTH NON-JOINER
|
||||||
|
U+200D: "" ZERO WIDTH JOINER -->
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="zwnjKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyXPos="31.250%p"
|
||||||
|
latin:keyWidth="37.500%p" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
|
@ -0,0 +1,71 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** Copyright 2012, 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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:mode="url"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="comKeyStyle"
|
||||||
|
latin:keyWidth="16.084%p" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:mode="email"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="comKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:imeAction="actionSearch"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyLabel=":"
|
||||||
|
latin:keyHintLabel="+"
|
||||||
|
latin:moreKeys="+"
|
||||||
|
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="smileyKeyStyle" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:mode="email"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="\@" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="/"
|
||||||
|
latin:keyHintLabel="\@"
|
||||||
|
latin:moreKeys="\@"
|
||||||
|
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
|
@ -29,73 +29,10 @@
|
||||||
<Spacer
|
<Spacer
|
||||||
latin:keyXPos="15.157%p"
|
latin:keyXPos="15.157%p"
|
||||||
latin:keyWidth="0%p" />
|
latin:keyWidth="0%p" />
|
||||||
<switch>
|
<include
|
||||||
<case
|
latin:keyboardLayout="@xml/keys_f1f2" />
|
||||||
latin:mode="url"
|
<include
|
||||||
>
|
latin:keyboardLayout="@xml/key_space" />
|
||||||
<Key
|
|
||||||
latin:keyStyle="comKeyStyle"
|
|
||||||
latin:keyWidth="16.084%p" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<switch>
|
|
||||||
<case
|
|
||||||
latin:mode="email"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="comKeyStyle" />
|
|
||||||
</case>
|
|
||||||
<case
|
|
||||||
latin:imeAction="actionSearch"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel=":"
|
|
||||||
latin:keyHintLabel="+"
|
|
||||||
latin:moreKeys="+"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="smileyKeyStyle" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
<switch>
|
|
||||||
<case
|
|
||||||
latin:mode="email"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="\@" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="/"
|
|
||||||
latin:keyHintLabel="\@"
|
|
||||||
latin:moreKeys="\@"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
<switch>
|
|
||||||
<case
|
|
||||||
latin:languageCode="fa"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="spaceKeyStyle"
|
|
||||||
latin:keyXPos="31.250%p"
|
|
||||||
latin:keyWidth="29.453%p" />
|
|
||||||
<!-- U+200C: "" ZERO WIDTH NON-JOINER
|
|
||||||
U+200D: "" ZERO WIDTH JOINER -->
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="zwnjKeyStyle" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="spaceKeyStyle"
|
|
||||||
latin:keyXPos="31.250%p"
|
|
||||||
latin:keyWidth="37.500%p" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
<switch>
|
<switch>
|
||||||
<case
|
<case
|
||||||
latin:languageCode="iw"
|
latin:languageCode="iw"
|
||||||
|
@ -105,7 +42,9 @@
|
||||||
</case>
|
</case>
|
||||||
<default>
|
<default>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/keys_apostrophe_dash" />
|
latin:keyboardLayout="@xml/key_apostrophe" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_dash" />
|
||||||
</default>
|
</default>
|
||||||
</switch>
|
</switch>
|
||||||
<switch>
|
<switch>
|
||||||
|
|
|
@ -65,5 +65,5 @@
|
||||||
latin:keyWidth="fillBoth" />
|
latin:keyWidth="fillBoth" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols4" />
|
latin:keyboardLayout="@xml/row_symbols4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -65,5 +65,5 @@
|
||||||
latin:keyWidth="fillBoth" />
|
latin:keyWidth="fillBoth" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols_shift4" />
|
latin:keyboardLayout="@xml/row_symbols_shift4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -31,7 +31,9 @@
|
||||||
latin:keyLabelFlags="alignLeft"
|
latin:keyLabelFlags="alignLeft"
|
||||||
latin:keyWidth="7.969%p" />
|
latin:keyWidth="7.969%p" />
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/keys_apostrophe_dash" />
|
latin:keyboardLayout="@xml/key_apostrophe" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_dash" />
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rowkeys_hebrew1" />
|
latin:keyboardLayout="@xml/rowkeys_hebrew1" />
|
||||||
<Key
|
<Key
|
||||||
|
|
|
@ -65,5 +65,5 @@
|
||||||
latin:keyWidth="fillBoth" />
|
latin:keyWidth="fillBoth" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols4" />
|
latin:keyboardLayout="@xml/row_symbols4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -65,5 +65,5 @@
|
||||||
latin:keyWidth="fillBoth" />
|
latin:keyWidth="fillBoth" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols_shift4" />
|
latin:keyboardLayout="@xml/row_symbols_shift4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -72,5 +72,5 @@
|
||||||
latin:keyWidth="fillBoth" />
|
latin:keyWidth="fillBoth" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols4" />
|
latin:keyboardLayout="@xml/row_symbols4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -72,5 +72,5 @@
|
||||||
latin:keyWidth="fillBoth" />
|
latin:keyWidth="fillBoth" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols_shift4" />
|
latin:keyboardLayout="@xml/row_symbols_shift4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2012, 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"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rows_symbols" />
|
|
||||||
</Keyboard>
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2012, 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"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rows_symbols_shift" />
|
|
||||||
</Keyboard>
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2012, 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"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rows_symbols" />
|
|
||||||
</Keyboard>
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
**
|
|
||||||
** Copyright 2012, 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"
|
|
||||||
>
|
|
||||||
<include
|
|
||||||
latin:keyboardLayout="@xml/rows_symbols_shift" />
|
|
||||||
</Keyboard>
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** Copyright 2011, The Android Open Source Project
|
** Copyright 2012, The Android Open Source Project
|
||||||
**
|
**
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** you may not use this file except in compliance with the License.
|
** you may not use this file except in compliance with the License.
|
||||||
|
@ -22,42 +22,33 @@
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
>
|
>
|
||||||
<switch>
|
<switch>
|
||||||
<case
|
|
||||||
latin:mode="email"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="-" />
|
|
||||||
</case>
|
|
||||||
<case
|
<case
|
||||||
latin:mode="url"
|
latin:mode="url"
|
||||||
>
|
>
|
||||||
<Key
|
<Key
|
||||||
latin:keyLabel="/"
|
latin:keyLabel="/"
|
||||||
latin:keyHintLabel=":"
|
latin:keyStyle="f1MoreKeysStyle" />
|
||||||
latin:moreKeys=":"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
</case>
|
</case>
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_apostrophe"
|
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_apostrophe"
|
|
||||||
latin:moreKeys="!text/more_keys_for_apostrophe"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
<switch>
|
|
||||||
<case
|
<case
|
||||||
latin:mode="email"
|
latin:mode="email"
|
||||||
>
|
>
|
||||||
<Key
|
<Key
|
||||||
latin:keyLabel="_" />
|
latin:keyLabel="\@"
|
||||||
|
latin:keyStyle="f1MoreKeysStyle" />
|
||||||
</case>
|
</case>
|
||||||
|
<case
|
||||||
|
latin:hasShortcutKey="true"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shortcutKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<!-- latin:hasShortcutKey="false" -->
|
||||||
<default>
|
<default>
|
||||||
<Key
|
<Key
|
||||||
latin:keyLabel="!text/keylabel_for_dash"
|
latin:keyLabel="!text/keylabel_for_comma"
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_dash"
|
latin:keyLabelFlags="hasPopupHint"
|
||||||
latin:moreKeys="!text/more_keys_for_dash"
|
latin:additionalMoreKeys="!text/more_keys_for_comma"
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
latin:keyStyle="f1MoreKeysStyle" />
|
||||||
</default>
|
</default>
|
||||||
</switch>
|
</switch>
|
||||||
</merge>
|
</merge>
|
|
@ -0,0 +1,63 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** Copyright 2012, 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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:languageCode="fa"
|
||||||
|
latin:languageSwitchKeyEnabled="true"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="languageSwitchKeyStyle" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyWidth="30%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="zwnjKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:languageCode="fa"
|
||||||
|
latin:languageSwitchKeyEnabled="false"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyWidth="40%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="zwnjKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:languageSwitchKeyEnabled="true"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="languageSwitchKeyStyle" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyWidth="40%p" />
|
||||||
|
</case>
|
||||||
|
<!-- languageSwitchKeyEnabled="false" -->
|
||||||
|
<default>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyWidth="50%p" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
|
@ -26,10 +26,10 @@
|
||||||
latin:enableProximityCharsCorrection="true" />
|
latin:enableProximityCharsCorrection="true" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="symbols"
|
latin:elementName="symbols"
|
||||||
latin:elementKeyboard="@xml/kbd_azerty_symbols" />
|
latin:elementKeyboard="@xml/kbd_10_10_7_symbols" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="symbolsShifted"
|
latin:elementName="symbolsShifted"
|
||||||
latin:elementKeyboard="@xml/kbd_azerty_symbols_shift" />
|
latin:elementKeyboard="@xml/kbd_10_10_7_symbols_shift" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="phone"
|
latin:elementName="phone"
|
||||||
latin:elementKeyboard="@xml/kbd_phone" />
|
latin:elementKeyboard="@xml/kbd_phone" />
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
latin:enableProximityCharsCorrection="true" />
|
latin:enableProximityCharsCorrection="true" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="symbols"
|
latin:elementName="symbols"
|
||||||
latin:elementKeyboard="@xml/kbd_hebrew_symbols" />
|
latin:elementKeyboard="@xml/kbd_10_10_7_symbols" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="symbolsShifted"
|
latin:elementName="symbolsShifted"
|
||||||
latin:elementKeyboard="@xml/kbd_hebrew_symbols_shift" />
|
latin:elementKeyboard="@xml/kbd_10_10_7_symbols_shift" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="phone"
|
latin:elementName="phone"
|
||||||
latin:elementKeyboard="@xml/kbd_phone" />
|
latin:elementKeyboard="@xml/kbd_phone" />
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
latin:enableProximityCharsCorrection="true" />
|
latin:enableProximityCharsCorrection="true" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="symbols"
|
latin:elementName="symbols"
|
||||||
latin:elementKeyboard="@xml/kbd_spanish_symbols" />
|
latin:elementKeyboard="@xml/kbd_10_10_7_symbols" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="symbolsShifted"
|
latin:elementName="symbolsShifted"
|
||||||
latin:elementKeyboard="@xml/kbd_spanish_symbols_shift" />
|
latin:elementKeyboard="@xml/kbd_10_10_7_symbols_shift" />
|
||||||
<Element
|
<Element
|
||||||
latin:elementName="phone"
|
latin:elementName="phone"
|
||||||
latin:elementKeyboard="@xml/kbd_phone" />
|
latin:elementKeyboard="@xml/kbd_phone" />
|
||||||
|
|
|
@ -27,75 +27,10 @@
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="toSymbolKeyStyle"
|
latin:keyStyle="toSymbolKeyStyle"
|
||||||
latin:keyWidth="15%p" />
|
latin:keyWidth="15%p" />
|
||||||
<switch>
|
<include
|
||||||
<case
|
latin:keyboardLayout="@xml/key_f1" />
|
||||||
latin:mode="url"
|
<include
|
||||||
>
|
latin:keyboardLayout="@xml/key_space" />
|
||||||
<Key
|
|
||||||
latin:keyLabel="/"
|
|
||||||
latin:keyStyle="f1MoreKeysStyle" />
|
|
||||||
</case>
|
|
||||||
<case
|
|
||||||
latin:mode="email"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="\@"
|
|
||||||
latin:keyStyle="f1MoreKeysStyle" />
|
|
||||||
</case>
|
|
||||||
<case
|
|
||||||
latin:hasShortcutKey="true"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="shortcutKeyStyle" />
|
|
||||||
</case>
|
|
||||||
<!-- latin:hasShortcutKey="false" -->
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_comma"
|
|
||||||
latin:keyLabelFlags="hasPopupHint"
|
|
||||||
latin:additionalMoreKeys="!text/more_keys_for_comma"
|
|
||||||
latin:keyStyle="f1MoreKeysStyle" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
<switch>
|
|
||||||
<case
|
|
||||||
latin:languageCode="fa"
|
|
||||||
latin:languageSwitchKeyEnabled="true"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="languageSwitchKeyStyle" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="spaceKeyStyle"
|
|
||||||
latin:keyWidth="30%p" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="zwnjKeyStyle" />
|
|
||||||
</case>
|
|
||||||
<case
|
|
||||||
latin:languageCode="fa"
|
|
||||||
latin:languageSwitchKeyEnabled="false"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="spaceKeyStyle"
|
|
||||||
latin:keyWidth="40%p" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="zwnjKeyStyle" />
|
|
||||||
</case>
|
|
||||||
<case
|
|
||||||
latin:languageSwitchKeyEnabled="true"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="languageSwitchKeyStyle" />
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="spaceKeyStyle"
|
|
||||||
latin:keyWidth="40%p" />
|
|
||||||
</case>
|
|
||||||
<!-- languageSwitchKeyEnabled="false" -->
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyStyle="spaceKeyStyle"
|
|
||||||
latin:keyWidth="50%p" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="punctuationKeyStyle" />
|
latin:keyStyle="punctuationKeyStyle" />
|
||||||
<Key
|
<Key
|
||||||
|
|
|
@ -44,5 +44,5 @@
|
||||||
latin:keyboardLayout="@xml/rowkeys_symbols3" />
|
latin:keyboardLayout="@xml/rowkeys_symbols3" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols4" />
|
latin:keyboardLayout="@xml/row_symbols4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -44,5 +44,5 @@
|
||||||
latin:keyboardLayout="@xml/rowkeys_symbols_shift3" />
|
latin:keyboardLayout="@xml/rowkeys_symbols_shift3" />
|
||||||
</Row>
|
</Row>
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/rows_symbols_shift4" />
|
latin:keyboardLayout="@xml/row_symbols_shift4" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
Loading…
Reference in New Issue