am a945c004
: Merge "Add Nepali Romanized keyboard"
* commit 'a945c0048ff7624076a9c5dc021b4db82effc505': Add Nepali Romanized keyboard
This commit is contained in:
commit
67447d2c9c
30 changed files with 1360 additions and 0 deletions
57
java/res/xml-sw600dp/rows_nepali_romanized.xml
Normal file
57
java/res/xml-sw600dp/rows_nepali_romanized.xml
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
<?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"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_styles_common" />
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="8.182%p"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized1" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="deleteKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</Row>
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="8.182%p"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized2" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="enterKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</Row>
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="8.182%p"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="10.0%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized3" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_comma_period" />
|
||||||
|
</Row>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||||
|
</merge>
|
68
java/res/xml-sw768dp/rows_nepali_romanized.xml
Normal file
68
java/res/xml-sw768dp/rows_nepali_romanized.xml
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
<?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"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_styles_common" />
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="7.375%p"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="tabKeyStyle"
|
||||||
|
latin:keyLabelFlags="alignLeft"
|
||||||
|
latin:keyWidth="7.969%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized1" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="deleteKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</Row>
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="7.227%p"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="toSymbolKeyStyle"
|
||||||
|
latin:keyLabelFlags="alignLeft"
|
||||||
|
latin:keyWidth="11.172%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized2" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="enterKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</Row>
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="7.000%p"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="13.829%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized3" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_comma_period" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</Row>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||||
|
</merge>
|
32
java/res/xml-v16/key_nepali_romanized2.xml
Normal file
32
java/res/xml-v16/key_nepali_romanized2.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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+093E: "ा" DEVANAGARI VOWEL SIGN AA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ा"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
32
java/res/xml-v16/key_nepali_romanized2_shift.xml
Normal file
32
java/res/xml-v16/key_nepali_romanized2_shift.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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+0903: "ः" DEVANAGARI SIGN VISARGA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ः"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
32
java/res/xml-v16/key_nepali_romanized3.xml
Normal file
32
java/res/xml-v16/key_nepali_romanized3.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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+094D: "्" DEVANAGARI SIGN VIRAMA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="्"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
32
java/res/xml-v16/key_nepali_romanized3_shift_center.xml
Normal file
32
java/res/xml-v16/key_nepali_romanized3_shift_center.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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+0902: "ं" DEVANAGARI SIGN ANUSVARA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ं"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
32
java/res/xml-v16/key_nepali_romanized3_shift_left.xml
Normal file
32
java/res/xml-v16/key_nepali_romanized3_shift_left.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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+0901: "ँ" DEVANAGARI SIGN CANDRABINDU -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ँ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
32
java/res/xml-v16/key_nepali_romanized3_shift_right.xml
Normal file
32
java/res/xml-v16/key_nepali_romanized3_shift_right.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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+094D: "्" DEVANAGARI SIGN VIRAMA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="्"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
42
java/res/xml-v16/keys_nepali_romanized1_left2.xml
Normal file
42
java/res/xml-v16/keys_nepali_romanized1_left2.xml
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+094C: "ौ" DEVANAGARI VOWEL SIGN AU
|
||||||
|
U+0968: "२" DEVANAGARI DIGIT TWO -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ौ"
|
||||||
|
latin:keyHintLabel="2"
|
||||||
|
latin:additionalMoreKeys="२,2"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0947: "े" DEVANAGARI VOWEL SIGN E
|
||||||
|
U+0969: "३" DEVANAGARI DIGIT THREE -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="े"
|
||||||
|
latin:keyHintLabel="3"
|
||||||
|
latin:additionalMoreKeys="३,3"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
49
java/res/xml-v16/keys_nepali_romanized1_right3.xml
Normal file
49
java/res/xml-v16/keys_nepali_romanized1_right3.xml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+0941: "ु" DEVANAGARI VOWEL SIGN U
|
||||||
|
U+096D: "७" DEVANAGARI DIGIT SEVEN -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ु"
|
||||||
|
latin:keyHintLabel="7"
|
||||||
|
latin:additionalMoreKeys="७,7"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+093F: "ि" DEVANAGARI VOWEL SIGN I
|
||||||
|
U+096E: "८" DEVANAGARI DIGIT EIGHT -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ि"
|
||||||
|
latin:keyHintLabel="8"
|
||||||
|
latin:additionalMoreKeys="८,8"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+094B: "ो" DEVANAGARI VOWEL SIGN O
|
||||||
|
U+096F: "९" DEVANAGARI DIGIT NINE -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ो"
|
||||||
|
latin:keyHintLabel="9"
|
||||||
|
latin:additionalMoreKeys="९,9"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
36
java/res/xml-v16/keys_nepali_romanized1_shift_left2.xml
Normal file
36
java/res/xml-v16/keys_nepali_romanized1_shift_left2.xml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+0948: "ै" DEVANAGARI VOWEL SIGN AI -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ै"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0943: "ृ" DEVANAGARI VOWEL SIGN VOCALIC R -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ृ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
36
java/res/xml-v16/keys_nepali_romanized1_shift_right2.xml
Normal file
36
java/res/xml-v16/keys_nepali_romanized1_shift_right2.xml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+0942: "ू" DEVANAGARI VOWEL SIGN UU -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ू"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0940: "ी" DEVANAGARI VOWEL SIGN II -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ी"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</merge>
|
26
java/res/xml/kbd_nepali_romanized.xml
Normal file
26
java/res/xml/kbd_nepali_romanized.xml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<Keyboard
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rows_nepali_romanized" />
|
||||||
|
</Keyboard>
|
34
java/res/xml/key_nepali_romanized2.xml
Normal file
34
java/res/xml/key_nepali_romanized2.xml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+093E: "ा" DEVANAGARI VOWEL SIGN AA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ा"
|
||||||
|
latin:code="0x093E"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
34
java/res/xml/key_nepali_romanized2_shift.xml
Normal file
34
java/res/xml/key_nepali_romanized2_shift.xml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0903: "ः" DEVANAGARI SIGN VISARGA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ः"
|
||||||
|
latin:code="0x0903"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
34
java/res/xml/key_nepali_romanized3.xml
Normal file
34
java/res/xml/key_nepali_romanized3.xml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+094D: "्" DEVANAGARI SIGN VIRAMA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌्"
|
||||||
|
latin:code="0x094D"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
34
java/res/xml/key_nepali_romanized3_shift_center.xml
Normal file
34
java/res/xml/key_nepali_romanized3_shift_center.xml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0902: "ं" DEVANAGARI SIGN ANUSVARA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ं"
|
||||||
|
latin:code="0x0902"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
34
java/res/xml/key_nepali_romanized3_shift_left.xml
Normal file
34
java/res/xml/key_nepali_romanized3_shift_left.xml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0901: "ँ" DEVANAGARI SIGN CANDRABINDU -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ँ"
|
||||||
|
latin:code="0x0901"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
34
java/res/xml/key_nepali_romanized3_shift_right.xml
Normal file
34
java/res/xml/key_nepali_romanized3_shift_right.xml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+094D: "्" DEVANAGARI SIGN VIRAMA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌्"
|
||||||
|
latin:code="0x094D"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
55
java/res/xml/keyboard_layout_set_nepali_romanized.xml
Normal file
55
java/res/xml/keyboard_layout_set_nepali_romanized.xml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<KeyboardLayoutSet
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
|
||||||
|
<Element
|
||||||
|
latin:elementName="alphabet"
|
||||||
|
latin:elementKeyboard="@xml/kbd_nepali_romanized"
|
||||||
|
latin:enableProximityCharsCorrection="true" />
|
||||||
|
<Element
|
||||||
|
latin:elementName="alphabetAutomaticShifted"
|
||||||
|
latin:elementKeyboard="@xml/kbd_nepali_romanized"
|
||||||
|
latin:enableProximityCharsCorrection="true" />
|
||||||
|
<!-- On these shifted alphabet layouts the proximity characters correction should be disabled
|
||||||
|
because the letters on these layouts aren't the ones in different case of the above
|
||||||
|
unshifted layouts. -->
|
||||||
|
<Element
|
||||||
|
latin:elementName="alphabetManualShifted"
|
||||||
|
latin:elementKeyboard="@xml/kbd_nepali_romanized" />
|
||||||
|
<Element
|
||||||
|
latin:elementName="alphabetShiftLocked"
|
||||||
|
latin:elementKeyboard="@xml/kbd_nepali_romanized" />
|
||||||
|
<Element
|
||||||
|
latin:elementName="alphabetShiftLockShifted"
|
||||||
|
latin:elementKeyboard="@xml/kbd_nepali_romanized" />
|
||||||
|
<Element
|
||||||
|
latin:elementName="symbols"
|
||||||
|
latin:elementKeyboard="@xml/kbd_symbols" />
|
||||||
|
<Element
|
||||||
|
latin:elementName="phone"
|
||||||
|
latin:elementKeyboard="@xml/kbd_phone" />
|
||||||
|
<Element
|
||||||
|
latin:elementName="phoneSymbols"
|
||||||
|
latin:elementKeyboard="@xml/kbd_phone_symbols" />
|
||||||
|
<Element
|
||||||
|
latin:elementName="number"
|
||||||
|
latin:elementKeyboard="@xml/kbd_number" />
|
||||||
|
</KeyboardLayoutSet>
|
46
java/res/xml/keys_nepali_romanized1_left2.xml
Normal file
46
java/res/xml/keys_nepali_romanized1_left2.xml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+094C: "ौ" DEVANAGARI VOWEL SIGN AU
|
||||||
|
U+0968: "२" DEVANAGARI DIGIT TWO -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ौ"
|
||||||
|
latin:code="0x094C"
|
||||||
|
latin:keyHintLabel="2"
|
||||||
|
latin:additionalMoreKeys="२,2"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0947: "े" DEVANAGARI VOWEL SIGN E
|
||||||
|
U+0969: "३" DEVANAGARI DIGIT THREE -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌े"
|
||||||
|
latin:code="0x0947"
|
||||||
|
latin:keyHintLabel="3"
|
||||||
|
latin:additionalMoreKeys="३,3"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
55
java/res/xml/keys_nepali_romanized1_right3.xml
Normal file
55
java/res/xml/keys_nepali_romanized1_right3.xml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0941: "ु" DEVANAGARI VOWEL SIGN U
|
||||||
|
U+096D: "७" DEVANAGARI DIGIT SEVEN -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ु"
|
||||||
|
latin:code="0x0941"
|
||||||
|
latin:keyHintLabel="7"
|
||||||
|
latin:additionalMoreKeys="७,7"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+093F: "ि" DEVANAGARI VOWEL SIGN I
|
||||||
|
U+096E: "८" DEVANAGARI DIGIT EIGHT -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ि"
|
||||||
|
latin:code="0x093F"
|
||||||
|
latin:keyHintLabel="8"
|
||||||
|
latin:additionalMoreKeys="८,8"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+094B: "ो" DEVANAGARI VOWEL SIGN O
|
||||||
|
U+096F: "९" DEVANAGARI DIGIT NINE -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ो"
|
||||||
|
latin:code="0x094B"
|
||||||
|
latin:keyHintLabel="9"
|
||||||
|
latin:additionalMoreKeys="९,9"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
40
java/res/xml/keys_nepali_romanized1_shift_left2.xml
Normal file
40
java/res/xml/keys_nepali_romanized1_shift_left2.xml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0948: "ै" DEVANAGARI VOWEL SIGN AI -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ै"
|
||||||
|
latin:code="0x0948"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0943: "ृ" DEVANAGARI VOWEL SIGN VOCALIC R -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ृ"
|
||||||
|
latin:code="0x0943"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
40
java/res/xml/keys_nepali_romanized1_shift_right2.xml
Normal file
40
java/res/xml/keys_nepali_romanized1_shift_right2.xml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
|
||||||
|
API version 16 can't automatically render dotted circle for incomplete combining letter
|
||||||
|
of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
|
||||||
|
counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
|
||||||
|
<merge
|
||||||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
|
>
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0942: "ू" DEVANAGARI VOWEL SIGN UU -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ू"
|
||||||
|
latin:code="0x0942"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
||||||
|
U+0940: "ी" DEVANAGARI VOWEL SIGN II -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="◌ी"
|
||||||
|
latin:code="0x0940"
|
||||||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||||||
|
</merge>
|
|
@ -60,6 +60,7 @@
|
||||||
mn: Mongolian/mongolian
|
mn: Mongolian/mongolian
|
||||||
ms: Malay/qwerty
|
ms: Malay/qwerty
|
||||||
nb: Norwegian Bokmål/nordic
|
nb: Norwegian Bokmål/nordic
|
||||||
|
ne: Nepali Romanized/nepali_romanized
|
||||||
nl: Dutch/qwerty
|
nl: Dutch/qwerty
|
||||||
nl_BE: Dutch Belgium/azerty
|
nl_BE: Dutch Belgium/azerty
|
||||||
pl: Polish/qwerty
|
pl: Polish/qwerty
|
||||||
|
@ -362,6 +363,13 @@
|
||||||
android:imeSubtypeMode="keyboard"
|
android:imeSubtypeMode="keyboard"
|
||||||
android:imeSubtypeExtraValue="AsciiCapable,SupportTouchPositionCorrection"
|
android:imeSubtypeExtraValue="AsciiCapable,SupportTouchPositionCorrection"
|
||||||
/>
|
/>
|
||||||
|
<subtype android:icon="@drawable/ic_subtype_keyboard"
|
||||||
|
android:label="@string/subtype_generic"
|
||||||
|
android:subtypeId="0xd80a4cee"
|
||||||
|
android:imeSubtypeLocale="ne"
|
||||||
|
android:imeSubtypeMode="keyboard"
|
||||||
|
android:imeSubtypeExtraValue="KeyboardLayoutSet=nepali_romanized"
|
||||||
|
/>
|
||||||
<subtype android:icon="@drawable/ic_subtype_keyboard"
|
<subtype android:icon="@drawable/ic_subtype_keyboard"
|
||||||
android:label="@string/subtype_generic"
|
android:label="@string/subtype_generic"
|
||||||
android:subtypeId="0x3f9fd91e"
|
android:subtypeId="0x3f9fd91e"
|
||||||
|
|
|
@ -93,6 +93,7 @@
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/keys_hindi1_left5" />
|
latin:keyboardLayout="@xml/keys_hindi1_left5" />
|
||||||
<!-- U+092C: "ब" DEVANAGARI LETTER BA
|
<!-- U+092C: "ब" DEVANAGARI LETTER BA
|
||||||
|
U+096C: "६" DEVANAGARI DIGIT SIX
|
||||||
U+092C/U+0952: "ब॒" DEVANAGARI LETTER BA/DEVANAGARI STRESS SIGN ANUDATTA -->
|
U+092C/U+0952: "ब॒" DEVANAGARI LETTER BA/DEVANAGARI STRESS SIGN ANUDATTA -->
|
||||||
<Key
|
<Key
|
||||||
latin:keyLabel="ब"
|
latin:keyLabel="ब"
|
||||||
|
|
121
java/res/xml/rowkeys_nepali_romanized1.xml
Normal file
121
java/res/xml/rowkeys_nepali_romanized1.xml
Normal file
|
@ -0,0 +1,121 @@
|
||||||
|
<?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"
|
||||||
|
>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||||
|
>
|
||||||
|
<!-- U+0920: "ठ" DEVANAGARI LETTER TTHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ठ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0914: "औ" DEVANAGARI LETTER AU -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="औ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_nepali_romanized1_shift_left2" />
|
||||||
|
<!-- U+0925: "थ" DEVANAGARI LETTER THA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="थ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+091E: "ञ" DEVANAGARI LETTER NYA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ञ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_nepali_romanized1_shift_right2" />
|
||||||
|
<!-- U+0913: "ओ" DEVANAGARI LETTER O -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ओ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+092B: "फ" DEVANAGARI LETTER PHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="फ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0908: "ई" DEVANAGARI LETTER II -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ई"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- U+091F: "ट" DEVANAGARI LETTER TTA
|
||||||
|
U+0967: "१" DEVANAGARI DIGIT ONE
|
||||||
|
U+093C: "़" DEVANAGARI SIGN NUKTA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ट"
|
||||||
|
latin:keyHintLabel="1"
|
||||||
|
latin:additionalMoreKeys="१,1"
|
||||||
|
latin:moreKeys="़"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_nepali_romanized1_left2" />
|
||||||
|
<!-- U+0930: "र" DEVANAGARI LETTER RA
|
||||||
|
U+096A: "४" DEVANAGARI DIGIT FOUR -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="र"
|
||||||
|
latin:keyHintLabel="4"
|
||||||
|
latin:additionalMoreKeys="४,4"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0924: "त" DEVANAGARI LETTER TA
|
||||||
|
U+096B: "५" DEVANAGARI DIGIT FIVE -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="त"
|
||||||
|
latin:keyHintLabel="5"
|
||||||
|
latin:additionalMoreKeys="५,5"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+092F: "य" DEVANAGARI LETTER YA
|
||||||
|
U+096C: "६" DEVANAGARI DIGIT SIX -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="य"
|
||||||
|
latin:keyHintLabel="6"
|
||||||
|
latin:additionalMoreKeys="६,6"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/keys_nepali_romanized1_right3" />
|
||||||
|
<!-- U+092A: "प" DEVANAGARI LETTER PA
|
||||||
|
U+0966: "०" DEVANAGARI DIGIT ZERO -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="प"
|
||||||
|
latin:keyHintLabel="0"
|
||||||
|
latin:additionalMoreKeys="०,0"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0907: "इ" DEVANAGARI LETTER I -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="इ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
122
java/res/xml/rowkeys_nepali_romanized2.xml
Normal file
122
java/res/xml/rowkeys_nepali_romanized2.xml
Normal file
|
@ -0,0 +1,122 @@
|
||||||
|
<?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"
|
||||||
|
>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||||
|
>
|
||||||
|
<!-- U+0906: "आ" DEVANAGARI LETTER AA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="आ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0936: "श" DEVANAGARI LETTER SHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="श"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0927: "ध" DEVANAGARI LETTER DHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ध"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+090A: "ऊ" DEVANAGARI LETTER UU -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ऊ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0918: "घ" DEVANAGARI LETTER GHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="घ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0905: "अ" DEVANAGARI LETTER A -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="अ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+091D: "झ" DEVANAGARI LETTER JHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="झ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0916: "ख" DEVANAGARI LETTER KHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ख"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0965: "॥" DEVANAGARI DOUBLE DANDA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="॥"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0910: "ऐ" DEVANAGARI LETTER AI -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ऐ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_nepali_romanized2_shift" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_nepali_romanized2" />
|
||||||
|
<!-- U+0938: "स" DEVANAGARI LETTER SA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="स"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0926: "द" DEVANAGARI LETTER DA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="द"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0909: "उ" DEVANAGARI LETTER U -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="उ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0917: "ग" DEVANAGARI LETTER GA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ग"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0939: "ह" DEVANAGARI LETTER HA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ह"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+091C: "ज" DEVANAGARI LETTER JA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ज"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0915: "क" DEVANAGARI LETTER KA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="क"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0932: "ल" DEVANAGARI LETTER LA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ल"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+090F: "ए" DEVANAGARI LETTER E -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ए"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0950: "ॐ" DEVANAGARI OM -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ॐ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
110
java/res/xml/rowkeys_nepali_romanized3.xml
Normal file
110
java/res/xml/rowkeys_nepali_romanized3.xml
Normal file
|
@ -0,0 +1,110 @@
|
||||||
|
<?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"
|
||||||
|
>
|
||||||
|
<switch>
|
||||||
|
<case
|
||||||
|
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||||||
|
>
|
||||||
|
<!-- U+090B: "ऋ" DEVANAGARI LETTER VOCALIC R -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ऋ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0922: "ढ" DEVANAGARI LETTER DDHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ढ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+091B: "छ" DEVANAGARI LETTER CHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="छ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_nepali_romanized3_shift_left" />
|
||||||
|
<!-- U+092D: "भ" DEVANAGARI LETTER BHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="भ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0923: "ण" DEVANAGARI LETTER NNA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="श"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_nepali_romanized3_shift_center" />
|
||||||
|
<!-- U+0919: "ङ" DEVANAGARI LETTER NGA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ङ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_nepali_romanized3_shift_right" />
|
||||||
|
</case>
|
||||||
|
<default>
|
||||||
|
<!-- U+0937: "ष" DEVANAGARI LETTER SSA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ष"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0921: "ड" DEVANAGARI LETTER DDA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ड"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+091A: "च" DEVANAGARI LETTER CA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="च"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0935: "व" DEVANAGARI LETTER VA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="व"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+092C: "ब" DEVANAGARI LETTER BHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="ब"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0928: "न" DEVANAGARI LETTER NA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="न"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+092E: "म" DEVANAGARI LETTER MA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="म"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- U+0964: "।" DEVANAGARI DANDA
|
||||||
|
U+093D: "ऽ" DEVANAGARI SIGN AVAGRAHA -->
|
||||||
|
<Key
|
||||||
|
latin:keyLabel="।"
|
||||||
|
latin:moreKeys="ऽ"
|
||||||
|
latin:keyLabelFlags="fontNormal" />
|
||||||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||||||
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
||||||
|
Key definitions are needed based on the API version. -->
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_nepali_romanized3" />
|
||||||
|
</default>
|
||||||
|
</switch>
|
||||||
|
</merge>
|
52
java/res/xml/rows_nepali_romanized.xml
Normal file
52
java/res/xml/rows_nepali_romanized.xml
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
<?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"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/key_styles_common" />
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="9.091%p"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized1" />
|
||||||
|
</Row>
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="9.091%p"
|
||||||
|
>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized2" />
|
||||||
|
</Row>
|
||||||
|
<Row
|
||||||
|
latin:keyWidth="8.711%p"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="shiftKeyStyle"
|
||||||
|
latin:keyWidth="10.8%p" />
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/rowkeys_nepali_romanized3" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="deleteKeyStyle"
|
||||||
|
latin:keyWidth="fillRight" />
|
||||||
|
</Row>
|
||||||
|
<include
|
||||||
|
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||||
|
</merge>
|
Loading…
Reference in a new issue