inbalboa / calcdialoglib

Calculator dialog for Android

Home Page:https://jitpack.io/#inbalboa/calcdialoglib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculator dialog

License API Jitpack

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

Is the fork of the calcdialoglib by maltaisn.

Demo

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

To get a library into your build:

  • Add the JitPack repository to your root build.gradle at the end of repositories:
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  • Add the dependency to your app's build.gradle:
dependencies {
    ...
    implementation 'com.github.inbalboa:calcdialoglib:vX.Y.Z'
}

Replace vX.Y.Z with this version number: Jitpack

Tutorial

Changelog

View changelog for release notes.

About

Calculator dialog for Android

https://jitpack.io/#inbalboa/calcdialoglib

License:Apache License 2.0


Languages

Language:Java 99.7%Language:Makefile 0.3%