Separate symbols comma-period from main keyboard ones
Bug: 11918360 Change-Id: Ia96230d1eb692bbc61842f1cd12ba980d5487017
This commit is contained in:
parent
c8a7a7dce3
commit
e7296d4bf4
4 changed files with 34 additions and 89 deletions
|
@ -1,87 +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.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<merge
|
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
||||||
>
|
|
||||||
<switch>
|
|
||||||
<case
|
|
||||||
latin:languageCode="ar"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_apostrophe"
|
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_apostrophe"
|
|
||||||
latin:moreKeys="!text/more_keys_for_apostrophe"
|
|
||||||
latin:backgroundType="functional"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="."
|
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_arabic_diacritics"
|
|
||||||
latin:keyLabelFlags="hasPopupHint"
|
|
||||||
latin:moreKeys="!text/more_keys_for_arabic_diacritics"
|
|
||||||
latin:backgroundType="functional"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
</case>
|
|
||||||
<case
|
|
||||||
latin:languageCode="fa"
|
|
||||||
>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_apostrophe"
|
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_apostrophe"
|
|
||||||
latin:keyLabelFlags="hasPopupHint"
|
|
||||||
latin:moreKeys="!text/more_keys_for_apostrophe"
|
|
||||||
latin:backgroundType="functional"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="."
|
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_arabic_diacritics"
|
|
||||||
latin:keyLabelFlags="hasPopupHint"
|
|
||||||
latin:moreKeys="!text/more_keys_for_arabic_diacritics"
|
|
||||||
latin:backgroundType="functional"
|
|
||||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
|
||||||
</case>
|
|
||||||
<case
|
|
||||||
latin:languageCode="hy"
|
|
||||||
>
|
|
||||||
<!-- U+055D: "՝" ARMENIAN COMMA -->
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="՝"
|
|
||||||
latin:backgroundType="functional" />
|
|
||||||
<!-- U+0589: "։" ARMENIAN FULL STOP -->
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="։"
|
|
||||||
latin:keyLabelFlags="hasPopupHint"
|
|
||||||
latin:backgroundType="functional"
|
|
||||||
latin:moreKeys="!text/more_keys_for_punctuation" />
|
|
||||||
</case>
|
|
||||||
<default>
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="!text/keylabel_for_tablet_comma"
|
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_tablet_comma"
|
|
||||||
latin:backgroundType="functional"
|
|
||||||
latin:moreKeys="!text/more_keys_for_tablet_comma" />
|
|
||||||
<Key
|
|
||||||
latin:keyLabel="."
|
|
||||||
latin:keyHintLabel="!text/keyhintlabel_for_period"
|
|
||||||
latin:backgroundType="functional"
|
|
||||||
latin:moreKeys="!text/more_keys_for_period" />
|
|
||||||
</default>
|
|
||||||
</switch>
|
|
||||||
</merge>
|
|
32
java/res/xml/keys_comma_period_symbols.xml
Normal file
32
java/res/xml/keys_comma_period_symbols.xml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** Copyright 2013, 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"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyLabel=","
|
||||||
|
latin:backgroundType="functional" />
|
||||||
|
<!-- U+2026: "…" HORIZONTAL ELLIPSIS -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="."
|
||||||
|
latin:moreKeys="…"
|
||||||
|
latin:backgroundType="functional" />
|
||||||
|
</merge>
|
|
@ -28,6 +28,6 @@
|
||||||
latin:keyLabel="/" />
|
latin:keyLabel="/" />
|
||||||
|
|
||||||
<include latin:keyboardLayout="@xml/key_space_symbols" />
|
<include latin:keyboardLayout="@xml/key_space_symbols" />
|
||||||
<include latin:keyboardLayout="@xml/keys_comma_period" />
|
<include latin:keyboardLayout="@xml/keys_comma_period_symbols" />
|
||||||
|
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -22,5 +22,5 @@
|
||||||
<include latin:keyboardLayout="@xml/keys_less_greater" />
|
<include latin:keyboardLayout="@xml/keys_less_greater" />
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/key_space_symbols" />
|
latin:keyboardLayout="@xml/key_space_symbols" />
|
||||||
<include latin:keyboardLayout="@xml/keys_comma_period" />
|
<include latin:keyboardLayout="@xml/keys_comma_period_symbols" />
|
||||||
</merge>
|
</merge>
|
||||||
|
|
Loading…
Reference in a new issue