Code Monkey home page Code Monkey logo

calcdialoglib's Introduction

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

The mavenCentral() repository is required.

  • 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.

calcdialoglib's People

Contributors

maltaisn avatar devnied avatar guger avatar guiorgy avatar mirinas avatar pawegio avatar roiattia avatar itmammoth avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.