/ TextField

AppCompatEditText with auto formatting currencies

AppCompatEditText with auto formatting currencies

CurrencyField

AppCompatEditText with auto formatting currencies.
Current support:

  • USD
  • EUR

Next version:

  • tests
  • full customization

0. Preview

Imgur

1. Dependency

implementation 'io.sulek:currencyfield:1.0.3'
repositories {
    maven {
        url  "https://dl.bintray.com/sulo61/Android"
    }
}

2. Usage

XML

<io.sulek.currencyfield.CurrencyField
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:currency="USD" />

GitHub