1
0
mirror of https://github.com/danog/termux-api.git synced 2024-12-04 10:17:58 +01:00
termux-api/app/build.gradle
David Kramer c4fbbf1bf2 DialogAPI Improvements / Enhancements (#172)
* DialogAPI Improvements / Enhancements
    * New Widgets: Date, Time, Spinner, Text-To-Speech, Confirmation
    * Results are returned as JSON including code of button pressed

* Fix typo

* Add BottomSheet InputMethod type
    * Change DialogActivity to AppCompatActivity
    * Add support library dependency to gradle
    * Change theme to be compatible with AppCompatActivity
    * Refactor getSpinnerItems to getInputValues so BottomSheet can use
    as well

* Add Radio InputMethod

* Better touch outside dialog cancellation behavior
    * Prevent speech InputMethod from being cancelled on touch outside

* Add Counter InputMethod

* Add CheckBox InputMethod
    * Change FrameLayout to be NestedScrollView to handle scrolling
    large dialogs as necessary

* Add custom range for CounterInputMethod

* Set text for ConfirmInputMethod

* Add numeric option / other minor tweaks
    * change password type to a boolean option instead of string
    * allow multiline password (text only not numeric)

* Allow text hint to be set for SpeechInputMethod
2018-06-22 00:25:47 +02:00

25 lines
499 B
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.termux.api"
minSdkVersion 21
targetSdkVersion 27
versionCode 24
versionName "0.24"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
implementation 'com.android.support:design:27.1.1'
}