A module designed to encapsulate the use of an Android EditText field for gathering currency information from a user. Supports all ISO-3166 compliant locales/currencies.
Apache License 2.0
339
stars
79
forks
source link
Suggestion: Can you provide select box for user to change Locale himself? #35
The only user facing part of this library is the CurrencyEditText box itself. Everything else is internal, so having a second user interface object would be difficult to manage at the library level.
That said, all the facilities are there in the library for you to do this yourself. Simply show a selection box of whichever locales you wish to support, then call setLocale() on the CurrencyEditText object to override the locale used.
The only user facing part of this library is the CurrencyEditText box itself. Everything else is internal, so having a second user interface object would be difficult to manage at the library level.
That said, all the facilities are there in the library for you to do this yourself. Simply show a selection box of whichever locales you wish to support, then call setLocale() on the CurrencyEditText object to override the locale used.