All Projects → maltaisn → Calcdialoglib

maltaisn / Calcdialoglib

Licence: apache-2.0
Calculator dialog for Android

Programming Languages

java
68154 projects - #9 most used programming language

Calculator dialog

A fully customizable calculator dialog for Android compatible with API 14. Can be used to replace the numeric keyboard and useful to enter monetary amounts for example.

Demo 1 Demo 2

Features

  • Material design with Google Material Components.
  • Built-in light and dark theme support.
  • Customizable number format.
  • Calculator or phone numpad layout styles.
  • Optional min and max values showing out of bounds messages.
  • Entered expression can be shown and edited.
  • Optional answer button to reuse previous result.
  • Order of operations can be applied or not.
  • Expression can be evaluated on new operator or not.
  • Optional clear button.
  • Entirely customizable using custom attributes.

Gradle dependency

implementation "com.maltaisn:calcdialog:X.Y.Z"

Replace X.Y.Z with lastest version number: Download

  • Google Material Components are used since version 2.2.0
  • Version 2.0.0 introduces many breaking changes, like the changed package name. See the changelog for the complete list of changes.
  • If you haven't migrated to AndroidX, use version 1.3.2. Versions 1.4.0 and up use AndroidX.

Tutorial

Changelog

View changelog here for release notes.

License

The library is licensed under Apache 2.0.

Translation

The library is available in 16 languages. If you make a translation please make a pull request. Strings to translate are in strings.xml, do not translate those in donottranslate.xml and do not translate the demo app.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].