2011-02-24 05:49:27 +00:00
|
|
|
<?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>
|
2011-02-24 09:11:48 +00:00
|
|
|
<case
|
|
|
|
latin:passwordInput="true"
|
|
|
|
>
|
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
|
|
|
<include
|
2012-01-27 14:31:30 +00:00
|
|
|
latin:keyboardLayout="@xml/key_styles_currency_dollar" />
|
2011-02-24 09:11:48 +00:00
|
|
|
</case>
|
2011-02-24 05:49:27 +00:00
|
|
|
<!-- Countries using Euro currency, 23 countries as for January 2011. -->
|
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)
|
|
|
|
12. Kosovo (??_XK) ??
|
|
|
|
13. Luxembourg (lb_LU, fr_LU, de_LU)
|
|
|
|
14. Malta (mt_MT, en_MT)
|
|
|
|
15. Monaco (fr_MO)
|
|
|
|
16. Montenegro (sla_ME)
|
|
|
|
17. Netherlands (nl_NL)
|
|
|
|
18. Portugal (pt_PT)
|
|
|
|
19. San Marino (it_SM)
|
|
|
|
20. Slovakia (sk_SK)
|
|
|
|
21. Slovenia (sl_SI)
|
|
|
|
22. Spain (es_ES, ca_ES)
|
|
|
|
23. Vatican City (it_VA)
|
|
|
|
-->
|
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
|
|
|
<!-- Though Denmark and Turkey don't using Euro as their currencies, but having Euro sign on
|
|
|
|
the symbol keyboard might be useful. Especially Danish krone (kr) and Turkish lira
|
|
|
|
(TL) can be represented by usual alphabet letters. -->
|
2011-06-02 18:18:57 +01:00
|
|
|
<!-- Note: Some locales may not have country code, and it it supposed to indicate the
|
|
|
|
country where the language originally/mainly spoken. -->
|
2011-02-24 05:49:27 +00:00
|
|
|
<case
|
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
|
|
|
latin:localeCode="da|de|es|el|fi|fr|it|nl|sk|sl|pt_PT|tr"
|
2011-02-24 05:49:27 +00:00
|
|
|
>
|
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
|
|
|
<include
|
2012-01-27 14:31:30 +00:00
|
|
|
latin:keyboardLayout="@xml/key_styles_currency_euro" />
|
2011-02-24 05:49:27 +00:00
|
|
|
</case>
|
|
|
|
<case
|
2011-06-02 18:18:57 +01:00
|
|
|
latin:languageCode="ca|et|lb|mt|sla"
|
2011-02-24 05:49:27 +00:00
|
|
|
>
|
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
|
|
|
<include
|
2012-01-27 14:31:30 +00:00
|
|
|
latin:keyboardLayout="@xml/key_styles_currency_euro" />
|
2011-02-24 05:49:27 +00:00
|
|
|
</case>
|
|
|
|
<case
|
2011-06-02 18:18:57 +01:00
|
|
|
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"
|
2011-02-24 05:49:27 +00:00
|
|
|
>
|
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
|
|
|
<include
|
2012-01-27 14:31:30 +00:00
|
|
|
latin:keyboardLayout="@xml/key_styles_currency_euro" />
|
2011-02-24 05:49:27 +00:00
|
|
|
</case>
|
2011-07-13 04:47:12 +01:00
|
|
|
<case
|
|
|
|
latin:languageCode="iw"
|
|
|
|
>
|
|
|
|
<key-style
|
|
|
|
latin:styleName="currencyKeyStyle"
|
|
|
|
latin:keyLabel="₪"
|
2011-08-31 13:14:15 +01:00
|
|
|
latin:moreKeys="@string/more_keys_for_currency_general" />
|
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
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency1KeyStyle"
|
|
|
|
latin:keyLabel="£" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency2KeyStyle"
|
|
|
|
latin:keyLabel="€" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency3KeyStyle"
|
|
|
|
latin:keyLabel="$"
|
|
|
|
latin:moreKeys="¢" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency4KeyStyle"
|
|
|
|
latin:keyLabel="¢" />
|
2011-07-13 04:47:12 +01:00
|
|
|
</case>
|
2011-02-24 05:49:27 +00:00
|
|
|
<!-- United Kingdom -->
|
|
|
|
<case
|
|
|
|
latin:countryCode="GB"
|
|
|
|
>
|
|
|
|
<key-style
|
|
|
|
latin:styleName="currencyKeyStyle"
|
|
|
|
latin:keyLabel="£"
|
2011-08-31 13:14:15 +01:00
|
|
|
latin:moreKeys="@string/more_keys_for_currency_pound" />
|
2011-02-24 05:49:27 +00:00
|
|
|
<key-style
|
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
|
|
|
latin:styleName="moreCurrency1KeyStyle"
|
|
|
|
latin:keyLabel="€" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency2KeyStyle"
|
|
|
|
latin:keyLabel="¥" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency3KeyStyle"
|
2011-02-24 05:49:27 +00:00
|
|
|
latin:keyLabel="$"
|
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
|
|
|
latin:moreKeys="¢" />
|
|
|
|
<key-style
|
|
|
|
latin:styleName="moreCurrency4KeyStyle"
|
|
|
|
latin:keyLabel="¢" />
|
|
|
|
</case>
|
|
|
|
<default>
|
|
|
|
<include
|
2012-01-27 14:31:30 +00:00
|
|
|
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>
|