Skip to content
Snippets Groups Projects
Commit 94c05c7d authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Update Hebrew keyboard"

parents d24df43e 1a552867
No related branches found
No related tags found
No related merge requests found
Showing
with 297 additions and 189 deletions
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
<string name="alternates_for_currency_dollar">¢,£,€,¥,₱</string> <string name="alternates_for_currency_dollar">¢,£,€,¥,₱</string>
<string name="alternates_for_currency_euro">¢,£,$,¥,₱</string> <string name="alternates_for_currency_euro">¢,£,$,¥,₱</string>
<string name="alternates_for_currency_pound">¢,$,€,¥,₱</string> <string name="alternates_for_currency_pound">¢,$,€,¥,₱</string>
<string name="alternates_for_currency_general">¢,$,€,£,¥,₱</string>
<string name="alternates_for_smiley">":-)|:-) ,:-(|:-( ,;-)|;-) ,:-P|:-P ,=-O|=-O ,:-*|:-* ,:O|:O ,B-)|B-) ,:-$|:-$ ,:-!|:-! ,:-[|:-[ ,O:-)|O:-) ,:-\\\\\\\\|:-\\\\\\\\ ,:\'(|:\'( ,:-D|:-D "</string> <string name="alternates_for_smiley">":-)|:-) ,:-(|:-( ,;-)|;-) ,:-P|:-P ,=-O|=-O ,:-*|:-* ,:O|:O ,B-)|B-) ,:-$|:-$ ,:-!|:-! ,:-[|:-[ ,O:-)|O:-) ,:-\\\\\\\\|:-\\\\\\\\ ,:\'(|:\'( ,:-D|:-D "</string>
<string name="alternates_for_punctuation">"\\,,\?,!,:,-,\',\",(,),/,;,+,&amp;,\@"</string> <string name="alternates_for_punctuation">"\\,,\?,!,:,-,\',\",(,),/,;,+,&amp;,\@"</string>
<string name="alternates_for_web_tab_punctuation">".,\\,,\?,!,:,-,\',\",(,),/,;,+,&amp;,\@"</string> <string name="alternates_for_web_tab_punctuation">".,\\,,\?,!,:,-,\',\",(,),/,;,+,&amp;,\@"</string>
......
...@@ -50,12 +50,24 @@ ...@@ -50,12 +50,24 @@
latin:keyIconShifted="iconShiftedShiftKey" latin:keyIconShifted="iconShiftedShiftKey"
latin:parentStyle="functionalKeyStyle" latin:parentStyle="functionalKeyStyle"
latin:isSticky="true" /> latin:isSticky="true" />
<key-style <switch>
latin:styleName="deleteKeyStyle" <case latin:languageCode="iw">
latin:code="@integer/key_delete" <key-style
latin:keyIcon="iconDeleteKey" latin:styleName="deleteKeyStyle"
latin:parentStyle="functionalKeyStyle" latin:code="@integer/key_delete"
latin:isRepeatable="true" /> latin:keyIcon="iconDeleteRtlKey"
latin:parentStyle="functionalKeyStyle"
latin:isRepeatable="true" />
</case>
<default>
<key-style
latin:styleName="deleteKeyStyle"
latin:code="@integer/key_delete"
latin:keyIcon="iconDeleteKey"
latin:parentStyle="functionalKeyStyle"
latin:isRepeatable="true" />
</default>
</switch>
<key-style <key-style
latin:styleName="returnKeyStyle" latin:styleName="returnKeyStyle"
latin:code="@integer/key_return" latin:code="@integer/key_return"
......
...@@ -46,29 +46,9 @@ ...@@ -46,29 +46,9 @@
latin:popupCharacters="@string/alternates_for_n" /> latin:popupCharacters="@string/alternates_for_n" />
<Key <Key
latin:keyLabel="m" /> latin:keyLabel="m" />
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="," />
<Key
latin:keyLabel="." />
</case>
<default>
<Key
latin:keyLabel=","
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="!"
latin:popupCharacters="!" />
<Key
latin:keyLabel="."
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="\?"
latin:popupCharacters="\?" />
</default>
</switch>
<include <include
latin:keyboardLayout="@xml/kbd_row3_right" /> latin:keyboardLayout="@xml/kbd_row3_comma_period" />
<include
latin:keyboardLayout="@xml/kbd_row3_smiley" />
</Row> </Row>
</merge> </merge>
...@@ -59,46 +59,15 @@ ...@@ -59,46 +59,15 @@
latin:keyWidth="39.750%p" /> latin:keyWidth="39.750%p" />
<switch> <switch>
<case <case
latin:mode="email" latin:languageCode="iw"
>
<Key
latin:keyLabel="-"
latin:keyWidth="9.750%p" />
</case>
<case
latin:mode="url"
>
<Key
latin:keyLabel="/"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel=":"
latin:popupCharacters=":"
latin:keyWidth="9.750%p" />
</case>
<default>
<Key
latin:keyLabel="\'"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="&quot;"
latin:popupCharacters="&quot;"
latin:keyWidth="9.750%p" />
</default>
</switch>
<switch>
<case
latin:mode="email"
> >
<Key <include
latin:keyLabel="_" latin:keyboardLayout="@xml/kbd_row3_comma_period" />
latin:keyWidth="9.750%p" />
</case> </case>
<!-- not languageCode="iw" -->
<default> <default>
<Key <include
latin:keyLabel="-" latin:keyboardLayout="@xml/kbd_row4_apostrophe_dash" />
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_"
latin:popupCharacters="_"
latin:keyWidth="9.750%p" />
</default> </default>
</switch> </switch>
<Spacer <Spacer
......
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="-" />
</case>
<case
latin:mode="url"
>
<Key
latin:keyLabel="/"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel=":"
latin:popupCharacters=":" />
</case>
<default>
<Key
latin:keyLabel="\'"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="&quot;"
latin:popupCharacters="&quot;" />
</default>
</switch>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="_" />
</case>
<default>
<Key
latin:keyLabel="-"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_"
latin:popupCharacters="_" />
</default>
</switch>
</merge>
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
<Key <Key
latin:keyLabel="د" /> latin:keyLabel="د" />
<include <include
latin:keyboardLayout="@xml/kbd_row3_right" /> latin:keyboardLayout="@xml/kbd_row3_smiley" />
</Row> </Row>
<include latin:keyboardLayout="@xml/kbd_qwerty_row4" /> <include latin:keyboardLayout="@xml/kbd_qwerty_row4" />
</merge> </merge>
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</default> </default>
</switch> </switch>
<include <include
latin:keyboardLayout="@xml/kbd_row3_right" /> latin:keyboardLayout="@xml/kbd_row3_smiley" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />
......
...@@ -24,13 +24,11 @@ ...@@ -24,13 +24,11 @@
<include <include
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="8.600%p" latin:keyWidth="9.0%p"
latin:rowEdgeFlags="top" latin:rowEdgeFlags="top"
> >
<Key <include
latin:keyLabel="," /> latin:keyboardLayout="@xml/kbd_row4_apostrophe_dash" />
<Key
latin:keyLabel="." />
<Key <Key
latin:keyLabel="ק" /> latin:keyLabel="ק" />
<Key <Key
...@@ -54,48 +52,78 @@ ...@@ -54,48 +52,78 @@
latin:keyEdgeFlags="right" /> latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.600%p" latin:keyWidth="9.0%p"
> >
<Key <Key
latin:keyLabel="ש" latin:keyLabel="ש"
latin:keyXPos="4.000%p" /> latin:keyXPos="4.500%p" />
<Key <Key
latin:keyLabel="ד" /> latin:keyLabel="ד" />
<Key <Key
latin:keyLabel="ג" latin:keyLabel="ג"
latin:popupCharacters=׳" /> latin:popupCharacters="ג׳" />
<Key <Key
latin:keyLabel="כ" /> latin:keyLabel="כ" />
<Key <Key
latin:keyLabel="ע" /> latin:keyLabel="ע" />
<Key <Key
latin:keyLabel="י" latin:keyLabel="י"
latin:popupCharacters="י,ײַ" /> latin:popupCharacters="ײַ" />
<Key <Key
latin:keyLabel="ח" latin:keyLabel="ח"
latin:popupCharacters=׳" /> latin:popupCharacters="ח׳" />
<Key <Key
latin:keyLabel="ל" /> latin:keyLabel="ל" />
<Key <Key
latin:keyLabel="ך" /> latin:keyLabel="ך" />
<Key <Key
latin:keyLabel="ף" /> latin:keyLabel="ף" />
<Key
latin:keyStyle="returnKeyStyle"
latin:keyXPos="-10.400%p"
latin:keyWidth="fillBoth"
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.600%p" latin:keyWidth="8.9%p"
> >
<Key <!-- kbd_row3_smiley -->
latin:keyStyle="shiftKeyStyle" <switch>
latin:keyWidth="10.000%p" <case
latin:keyEdgeFlags="left" /> latin:mode="email"
>
<Key
latin:keyLabel="\@"
latin:keyWidth="10.0%p"
latin:keyEdgeFlags="left" />
</case>
<case
latin:mode="url"
>
<Key
latin:keyLabel="-"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_"
latin:popupCharacters="_"
latin:keyWidth="10.0%p"
latin:keyEdgeFlags="left" />
</case>
<case
latin:imeAction="actionSearch"
>
<Key
latin:keyLabel=":"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="+"
latin:popupCharacters="+"
latin:keyWidth="10.0%p"
latin:keyEdgeFlags="left" />
</case>
<default>
<Key
latin:keyStyle="smileyKeyStyle"
latin:keyWidth="10.0%p"
latin:keyEdgeFlags="left" />
</default>
</switch>
<Key <Key
latin:keyLabel="ז" latin:keyLabel="ז"
latin:popupCharacters=׳" /> latin:popupCharacters="ז׳" />
<Key <Key
latin:keyLabel="ס" /> latin:keyLabel="ס" />
<Key <Key
...@@ -108,15 +136,19 @@ ...@@ -108,15 +136,19 @@
latin:keyLabel="מ" /> latin:keyLabel="מ" />
<Key <Key
latin:keyLabel="צ" latin:keyLabel="צ"
latin:popupCharacters=׳" /> latin:popupCharacters="צ׳" />
<Key <Key
latin:keyLabel="ת" latin:keyLabel="ת"
latin:popupCharacters=׳" /> latin:popupCharacters="ת׳" />
<Key <Key
latin:keyLabel="ץ" latin:keyLabel="ץ"
latin:popupCharacters="ץ,ץ׳" /> latin:popupCharacters="ץ׳" />
<include <Key
latin:keyboardLayout="@xml/kbd_row3_right" /> latin:keyStyle="returnKeyStyle"
latin:keyXPos="-10.400%p"
latin:keyWidth="fillBoth"
latin:keyEdgeFlags="right" />
</Row> </Row>
<include latin:keyboardLayout="@xml/kbd_qwerty_row4" /> <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" />
</merge> </merge>
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
</default> </default>
</switch> </switch>
<include <include
latin:keyboardLayout="@xml/kbd_row3_right" /> latin:keyboardLayout="@xml/kbd_row3_smiley" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
</default> </default>
</switch> </switch>
<include <include
latin:keyboardLayout="@xml/kbd_row3_right" /> latin:keyboardLayout="@xml/kbd_row3_smiley" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />
......
...@@ -134,32 +134,12 @@ ...@@ -134,32 +134,12 @@
latin:popupCharacters="@string/alternates_for_n" /> latin:popupCharacters="@string/alternates_for_n" />
<Key <Key
latin:keyLabel="m" /> latin:keyLabel="m" />
<switch> <include
<case latin:keyboardLayout="@xml/kbd_row3_comma_period" />
latin:mode="email"
>
<Key
latin:keyLabel="," />
<Key
latin:keyLabel="." />
</case>
<default>
<Key
latin:keyLabel=","
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="!"
latin:popupCharacters="!" />
<Key
latin:keyLabel="."
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="\?"
latin:popupCharacters="\?" />
</default>
</switch>
<Spacer <Spacer
latin:keyWidth="4.35%p" /> latin:keyWidth="4.35%p" />
<include <include
latin:keyboardLayout="@xml/kbd_row3_right" /> latin:keyboardLayout="@xml/kbd_row3_smiley" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />
......
...@@ -114,30 +114,10 @@ ...@@ -114,30 +114,10 @@
latin:keyLabel="ђ" /> latin:keyLabel="ђ" />
<Key <Key
latin:keyLabel="ж" /> latin:keyLabel="ж" />
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="," />
<Key
latin:keyLabel="." />
</case>
<default>
<Key
latin:keyLabel=","
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="!"
latin:popupCharacters="!" />
<Key
latin:keyLabel="."
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="\?"
latin:popupCharacters="\?" />
</default>
</switch>
<include <include
latin:keyboardLayout="@xml/kbd_row3_right" /> latin:keyboardLayout="@xml/kbd_row3_comma_period" />
<include
latin:keyboardLayout="@xml/kbd_row3_smiley" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />
......
...@@ -158,16 +158,13 @@ ...@@ -158,16 +158,13 @@
latin:keyStyle="spaceKeyStyle" latin:keyStyle="spaceKeyStyle"
latin:keyXPos="30.750%p" latin:keyXPos="30.750%p"
latin:keyWidth="39.750%p" /> latin:keyWidth="39.750%p" />
<!-- Note: DroidSans doesn't have double-high-reversed-quotation <!-- Note: DroidSans doesn't have double-high-reversed-quotation '\u201f' glyph. -->
'\u201f' glyph. --> <!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" -->
<!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" -->
<Key <Key
latin:keyLabel="&quot;" latin:keyLabel="&quot;"
latin:popupCharacters="“,”,«,»,‘,’,‚,‛" latin:popupCharacters="“,”,«,»,‘,’,‚,‛" />
latin:keyWidth="9.750%p" />
<Key <Key
latin:keyLabel="_" latin:keyLabel="_" />
latin:keyWidth="9.750%p" />
<Spacer <Spacer
latin:keyXPos="-10.00%p" latin:keyXPos="-10.00%p"
latin:keyWidth="0%p" /> latin:keyWidth="0%p" />
......
...@@ -32,12 +32,24 @@ ...@@ -32,12 +32,24 @@
latin:keyIconShifted="iconShiftedShiftKey" latin:keyIconShifted="iconShiftedShiftKey"
latin:parentStyle="functionalKeyStyle" latin:parentStyle="functionalKeyStyle"
latin:isSticky="true" /> latin:isSticky="true" />
<key-style <switch>
latin:styleName="deleteKeyStyle" <case latin:languageCode="iw">
latin:code="@integer/key_delete" <key-style
latin:keyIcon="iconDeleteKey" latin:styleName="deleteKeyStyle"
latin:parentStyle="functionalKeyStyle" latin:code="@integer/key_delete"
latin:isRepeatable="true" /> latin:keyIcon="iconDeleteRtlKey"
latin:parentStyle="functionalKeyStyle"
latin:isRepeatable="true" />
</case>
<default>
<key-style
latin:styleName="deleteKeyStyle"
latin:code="@integer/key_delete"
latin:keyIcon="iconDeleteKey"
latin:parentStyle="functionalKeyStyle"
latin:isRepeatable="true" />
</default>
</switch>
<key-style <key-style
latin:styleName="returnKeyStyle" latin:styleName="returnKeyStyle"
latin:code="@integer/key_return" latin:code="@integer/key_return"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<Key <Key
latin:keyLabel="m" /> latin:keyLabel="m" />
<include <include
latin:keyboardLayout="@xml/kbd_row3_right2" /> latin:keyboardLayout="@xml/kbd_row3_comma_period" />
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyXPos="-13.750%p" latin:keyXPos="-13.750%p"
......
...@@ -90,41 +90,14 @@ ...@@ -90,41 +90,14 @@
latin:keyWidth="37.500%p" /> latin:keyWidth="37.500%p" />
<switch> <switch>
<case <case
latin:mode="email" latin:languageCode="iw"
> >
<Key <include
latin:keyLabel="-" /> latin:keyboardLayout="@xml/kbd_row3_comma_period" />
</case>
<case
latin:mode="url"
>
<Key
latin:keyLabel="/"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel=":"
latin:popupCharacters=":" />
</case>
<default>
<Key
latin:keyLabel="\'"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="&quot;"
latin:popupCharacters="&quot;" />
</default>
</switch>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="_" />
</case> </case>
<default> <default>
<Key <include
latin:keyLabel="-" latin:keyboardLayout="@xml/kbd_row4_apostrophe_dash" />
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_"
latin:popupCharacters="_" />
</default> </default>
</switch> </switch>
<switch> <switch>
......
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="," />
<Key
latin:keyLabel="." />
</case>
<default>
<Key
latin:keyLabel=","
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="!"
latin:popupCharacters="!" />
<Key
latin:keyLabel="."
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="\?"
latin:popupCharacters="\?" />
</default>
</switch>
</merge>
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="-" />
</case>
<case
latin:mode="url"
>
<Key
latin:keyLabel="/"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel=":"
latin:popupCharacters=":" />
</case>
<default>
<Key
latin:keyLabel="\'"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="&quot;"
latin:popupCharacters="&quot;" />
</default>
</switch>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="_" />
</case>
<default>
<Key
latin:keyLabel="-"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_"
latin:popupCharacters="_" />
</default>
</switch>
</merge>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment