2011-02-24 05:49:27 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
**
|
2013-09-04 09:53:12 +01:00
|
|
|
** Copyright 2011, The Android Open Source Project
|
2011-02-24 05:49:27 +00:00
|
|
|
**
|
|
|
|
** 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.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
|
2014-07-08 04:50:16 +01:00
|
|
|
<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
|
2011-02-24 05:49:27 +00:00
|
|
|
<switch>
|
2014-07-08 04:50:16 +01:00
|
|
|
<case latin:passwordInput="true">
|
|
|
|
<include latin:keyboardLayout="@xml/key_styles_currency_dollar" />
|
2011-02-24 09:11:48 +00:00
|
|
|
</case>
|
2012-11-20 02:36:11 +00:00
|
|
|
<!-- Countries using Euro currency, 23 countries as of November 2012.
|
2011-06-02 18:18:57 +01:00
|
|
|
1. Andorra (ca_AD, ca_ES)
|
|
|
|
2. Austria (de_AT)
|
|
|
|
3. Belgium (nl_BE, fr_BE, de_BE)
|
|
|
|
4. Cyprus (el_CY, tr_CY)
|
|
|
|
5. Estonia (et_EE)
|
|
|
|
6. Finland (fi_FI, sv_FI)
|
|
|
|
7. France (fr_FR)
|
|
|
|
8. Germany (de_DE)
|
|
|
|
9. Greece (el_GR)
|
|
|
|
10. Ireland (ga_IE, en_IE)
|
|
|
|
11. Italy (it_IT)
|
2012-11-20 02:36:11 +00:00
|
|
|
12. Kosovo (sq_XK, sr_XK)
|
2011-06-02 18:18:57 +01:00
|
|
|
13. Luxembourg (lb_LU, fr_LU, de_LU)
|
|
|
|
14. Malta (mt_MT, en_MT)
|
|
|
|
15. Monaco (fr_MO)
|
2012-11-20 02:36:11 +00:00
|
|
|
16. Montenegro (??_ME)
|
2011-06-02 18:18:57 +01:00
|
|
|
17. Netherlands (nl_NL)
|
|
|
|
18. Portugal (pt_PT)
|
|
|
|
19. San Marino (it_SM)
|
|
|
|
20. Slovakia (sk_SK)
|
|
|
|
21. Slovenia (sl_SI)
|
2014-03-17 08:03:38 +00:00
|
|
|
22. Spain (es_ES, ca_ES, eu_ES, gl_ES)
|
2012-11-20 02:36:11 +00:00
|
|
|
23. Vatican City (it_VA) -->
|
2014-07-08 04:50:16 +01:00
|
|
|
<case latin:countryCode="AD|AT|BE|CY|EE|FI|FR|DE|GR|IE|IT|XK|LU|MT|MO|ME|NL|PT|SM|SK|SI|ES|VA">
|
|
|
|
<include latin:keyboardLayout="@xml/key_styles_currency_euro" />
|
2011-02-24 05:49:27 +00:00
|
|
|
</case>
|
2012-11-20 02:36:11 +00:00
|
|
|
<!-- Note: Some subtype locale may not have country code, and it it supposed to indicate the
|
|
|
|
country where the language originally/mainly spoken. -->
|
|
|
|
<!-- Though Denmark, Sweden and Turkey don't use Euro as their currency, having the Euro
|
|
|
|
sign on the symbol keyboard might be useful. Especially Danish krone (kr), Swedish
|
|
|
|
krona (kr) and Turkish lira (TL) can be represented by usual alphabet letters. -->
|
|
|
|
<!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for
|
|
|
|
its unicode, although there is no font glyph for it as of November 2012. -->
|
|
|
|
<!-- da: Denmark (da_DK)
|
|
|
|
de: Germany (de_DE)
|
|
|
|
es: Spain (es_ES)
|
|
|
|
fi: Finland (fi_FI)
|
|
|
|
fr: France(fr_FR)
|
|
|
|
it: Italy (it_IT)
|
|
|
|
nl: Netherlands (nl_NL)
|
|
|
|
sk: Slovakia (sk_SK)
|
|
|
|
sl: Slovenia (sl_SL)
|
|
|
|
sv: Sweden (sv_SV)
|
|
|
|
tr: Trukey (tr_TR) -->
|
2014-07-08 04:50:16 +01:00
|
|
|
<case latin:localeCode="da|de|es|el|fi|fr|it|nl|sk|sl|sv|tr">
|
|
|
|
<include latin:keyboardLayout="@xml/key_styles_currency_euro" />
|
2011-02-24 05:49:27 +00:00
|
|
|
</case>
|
2012-11-20 02:36:11 +00:00
|
|
|
<!-- ca: Catalan (Andorra, Spain)
|
|
|
|
et: Estonian (Estonia)
|
|
|
|
lb: Luxembougish (Luxembourg)
|
|
|
|
mt: Maltese (Malta) -->
|
2014-07-08 04:50:16 +01:00
|
|
|
<case latin:languageCode="ca|et|lb|mt">
|
|
|
|
<include latin:keyboardLayout="@xml/key_styles_currency_euro" />
|
2011-02-24 05:49:27 +00:00
|
|
|
</case>
|
2014-07-08 04:50:16 +01:00
|
|
|
<!-- fa: Persian (Rial and Afgahni)
|
|
|
|
hi: Hindi (Indian Rupee)
|
2014-08-21 06:58:41 +01:00
|
|
|
hi_ZZ: Hinglish (Indian Rupee)
|
2014-07-08 04:50:16 +01:00
|
|
|
iw: Hebrew (New Sheqel)
|
|
|
|
lo: Lao (Kip)
|
|
|
|
mn: Mongolian (Tugrik)
|
|
|
|
ne: Nepali (Nepalese Rupee)
|
|
|
|
th: Thai (Baht)
|
|
|
|
uk: Ukrainian (Hryvnia)
|
|
|
|
vi: Vietnamese (Dong) -->
|
|
|
|
<!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for
|
|
|
|
its unicode, although there is no font glyph for it as of November 2012. -->
|
|
|
|
<!-- TODO: The currency sign of Armenian Dram was created in 2012 and assigned U+058F for
|
|
|
|
its unicode, although there is no font glyph for it as of September 2013. -->
|
2014-08-11 07:22:19 +01:00
|
|
|
<!-- TODO: The currency sign of Russian Ruble was created in 2014 and assigned U+20BD for
|
|
|
|
its unicode, although there is no font glyph for it as of August 2014. -->
|
|
|
|
<case latin:languageCode="fa|hi|iw|lo|mn|ne|th|uk|vi">
|
|
|
|
<include latin:keyboardLayout="@xml/key_styles_currency_generic" />
|
|
|
|
</case>
|
|
|
|
<!-- si_LK: Sinhala (Sri Lanka) (Sri Lanka Rupee)
|
2014-09-26 15:10:22 +01:00
|
|
|
ta_LK: Tamil (Sri Lanka) (Sri Lanka Rupee)
|
|
|
|
bn_BD: Bengali (Bangladesh) (Taka) -->
|
|
|
|
<case latin:countryCode="LK|BD">
|
2014-08-11 07:22:19 +01:00
|
|
|
<include latin:keyboardLayout="@xml/key_styles_currency_generic" />
|
2011-07-13 04:47:12 +01:00
|
|
|
</case>
|
2014-08-11 07:22:19 +01:00
|
|
|
<!-- bn_IN: Bengali (India) (Indian Rupee)
|
|
|
|
en_IN: English (India) (Indian Rupee)
|
|
|
|
kn_IN: Kannada (India) (Indian Rupee)
|
|
|
|
ml_IN: Malayalam (India) (Indian Rupee)
|
|
|
|
mr_IN: Marathi (India) (Indian Rupee)
|
|
|
|
ta_IN: Tamil (India) (Indian Rupee)
|
|
|
|
te_IN: Telugu (India) (Indian Rupee)
|
|
|
|
-->
|
2014-07-08 04:50:16 +01:00
|
|
|
<case latin:countryCode="IN">
|
|
|
|
<!-- U+20B9: "₹" INDIAN RUPEE SIGN
|
|
|
|
U+00A3: "£" POUND SIGN
|
2014-04-08 07:34:41 +01:00
|
|
|
U+20AC: "€" EURO SIGN
|
|
|
|
U+00A2: "¢" CENT SIGN -->
|
|
|
|
<key-style
|
|
|
|
latin:styleName="currencyKeyStyle"
|
2014-07-08 04:50:16 +01:00
|
|
|
latin:keySpec="₹"
|
2014-08-11 07:22:19 +01:00
|
|
|
latin:moreKeys="!text/morekeys_currency_generic" />
|
2014-04-08 07:34:41 +01:00
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency1KeyStyle"
|
|
|
|
latin:keySpec="£" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency2KeyStyle"
|
|
|
|
latin:keySpec="€" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency3KeyStyle"
|
|
|
|
latin:keySpec="$"
|
|
|
|
latin:moreKeys="¢" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency4KeyStyle"
|
|
|
|
latin:keySpec="¢" />
|
|
|
|
</case>
|
2012-11-20 02:36:11 +00:00
|
|
|
<!-- GB: United Kingdom (Pound) -->
|
2014-07-08 04:50:16 +01:00
|
|
|
<case latin:countryCode="GB">
|
2012-03-26 10:21:25 +01:00
|
|
|
<!-- U+00A3: "£" POUND SIGN
|
|
|
|
U+20AC: "€" EURO SIGN
|
|
|
|
U+00A5: "¥" YEN SIGN
|
2012-11-20 02:36:11 +00:00
|
|
|
U+00A2: "¢" CENT SIGN
|
|
|
|
U+20B1: "₱" PESO SIGN -->
|
2013-09-04 09:53:12 +01:00
|
|
|
<key-style
|
|
|
|
latin:styleName="currencyKeyStyle"
|
2014-02-06 06:11:05 +00:00
|
|
|
latin:keySpec="£"
|
2012-11-20 02:36:11 +00:00
|
|
|
latin:moreKeys="¢,$,€,¥,₱" />
|
2013-09-04 09:53:12 +01:00
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency1KeyStyle"
|
2014-02-06 06:11:05 +00:00
|
|
|
latin:keySpec="€" />
|
2013-09-04 09:53:12 +01:00
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency2KeyStyle"
|
2014-02-06 06:11:05 +00:00
|
|
|
latin:keySpec="¥" />
|
2013-09-04 09:53:12 +01:00
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency3KeyStyle"
|
2014-02-06 06:11:05 +00:00
|
|
|
latin:keySpec="$"
|
2013-09-04 09:53:12 +01:00
|
|
|
latin:moreKeys="¢" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency4KeyStyle"
|
2014-02-06 06:11:05 +00:00
|
|
|
latin:keySpec="¢" />
|
Currency symbol keys are more aware of locale
* Locale is one of EU, main currency is Euro, and more currencies are
Pound, Yen and Dollar (plus Cent on 10" tablet)
* Locale is GB, main currency is Pound, and more currencies are
Euro, Yen and Dollar (plus Cent on 10" tablet)
* Locale has special currency symbol such as Hebrew,
main currency is the one, and more currencies are
Pound, Euro, Dollar (plus Cent on 10" tablet)
* Other than these, main currency is Dollar, and more currencies are
Pound, Cent, Euro (plus Yen on 10" tablet)
Bug: 5281876
Change-Id: I548dc663bafdb3b3f717f4328fda8dfcbafca2df
2011-09-09 07:23:27 +01:00
|
|
|
</case>
|
2012-11-20 02:36:11 +00:00
|
|
|
<!-- ar: Arabic (Dollar and Rial) -->
|
Currency symbol keys are more aware of locale
* Locale is one of EU, main currency is Euro, and more currencies are
Pound, Yen and Dollar (plus Cent on 10" tablet)
* Locale is GB, main currency is Pound, and more currencies are
Euro, Yen and Dollar (plus Cent on 10" tablet)
* Locale has special currency symbol such as Hebrew,
main currency is the one, and more currencies are
Pound, Euro, Dollar (plus Cent on 10" tablet)
* Other than these, main currency is Dollar, and more currencies are
Pound, Cent, Euro (plus Yen on 10" tablet)
Bug: 5281876
Change-Id: I548dc663bafdb3b3f717f4328fda8dfcbafca2df
2011-09-09 07:23:27 +01:00
|
|
|
<default>
|
2014-07-08 04:50:16 +01:00
|
|
|
<include latin:keyboardLayout="@xml/key_styles_currency_dollar" />
|
2011-02-24 05:49:27 +00:00
|
|
|
</default>
|
|
|
|
</switch>
|
2011-06-02 18:18:57 +01:00
|
|
|
</merge>
|