暫無描述

Aidan Follestad 709cfee9b4 Enable android.defaultConfig.vectorDrawables.useSupportLibrary in the sample project 4 年之前
.github ff91342bcb Update docs and other stuff 4 年之前
art 179ef6dd46 Add LayoutMode for bottom sheets along with setPeekHeight method, resolves #1801 5 年之前
bottomsheets e4232fd44e Bottom sheets corner radius should only apply at the top. Resolves #1941. 5 年之前
color 43e4e3b9f9 Update project Gradle script structure 5 年之前
core 02459491f2 Resolves #1961, allow choice list control color to be changed programatically (#1972) 4 年之前
datetime a2c642b80f Expose maxDateTime for DateTimePicker (#1952) 4 年之前
documentation a698e6d78c Update badges to point to Maven Central versions 4 年之前
files 9c4bd07c2f Add missing kotlin-coroutines-android dependency (#1939) 5 年之前
gradle f49016bd43 Migrate to MavenCentral 4 年之前
input 23ce3198db Set hint on TextInputLayout (#1962) 4 年之前
lifecycle 43e4e3b9f9 Update project Gradle script structure 5 年之前
sample 709cfee9b4 Enable android.defaultConfig.vectorDrawables.useSupportLibrary in the sample project 4 年之前
.editorconfig 43e4e3b9f9 Update project Gradle script structure 5 年之前
.gitignore 190cef020f Updated .gitignore 8 年之前
LICENSE.md 8dc88b0095 Version 2, alpha 1 (#1572) 6 年之前
README.md a698e6d78c Update badges to point to Maven Central versions 4 年之前
README_OLD.md a698e6d78c Update badges to point to Maven Central versions 4 年之前
RELEASE_NOTES.md 986dbaced6 Release 3.3.0 4 年之前
build.gradle f49016bd43 Migrate to MavenCentral 4 年之前
dependencies.gradle f49016bd43 Migrate to MavenCentral 4 年之前
gradle.properties f49016bd43 Migrate to MavenCentral 4 年之前
gradlew bc48fd9fcf Update Gradle wrapper to 3.3 8 年之前
gradlew.bat bc48fd9fcf Update Gradle wrapper to 3.3 8 年之前
settings.gradle b04bb2ac58 Add DialogBehavior API and implement BottomSheet support. Other cleanup to the library and sample 5 年之前
spotless.license.kt 3331a9cd83 Update license header 6 年之前

README.md

Material Dialogs

View Releases and Changelogs

Android CI Codacy Badge License


Showcase

Modules

The core module is the fundamental module that you need in order to use this library. The others are extensions to core.

Please note that since Material Dialogs 2.x.x, this library only supports Kotlin. The latest Java version is 0.9.6.0 and can be found here. Note that 0.9.6.0 is unsupported, bugs & improvements will not be made to that version.

Core

Core

Core Tutorial and Samples

The core module contains everything you need to get started with the library. It contains all core and normal-use functionality.

dependencies {
  ...
  implementation 'com.afollestad.material-dialogs:core:3.3.0'
}

Input

Input

Input Tutorial and Samples

The input module contains extensions to the core module, such as a text input dialog.

dependencies {
  ...
  implementation 'com.afollestad.material-dialogs:input:3.3.0'
}

Files

Files

Files Tutorial and Samples

The files module contains extensions to the core module, such as a file and folder chooser.

dependencies {
  ...
  implementation 'com.afollestad.material-dialogs:files:3.3.0'
}

Color

Color

Color Tutorial and Samples

The color module contains extensions to the core module, such as a color chooser.

dependencies {
  ...
  implementation 'com.afollestad.material-dialogs:color:3.3.0'
}

DateTime

DateTime

DateTime Tutorial and Samples

The datetime module contains extensions to make date, time, and date-time picker dialogs.

dependencies {
  ...
  implementation 'com.afollestad.material-dialogs:datetime:3.3.0'
}

Bottom Sheets

Bottom Sheets

Bottom Sheets Tutorial and Samples

The bottomsheets module contains extensions to turn modal dialogs into bottom sheets, among other functionality like showing a grid of items. Be sure to checkout the sample project for this, too!

dependencies {
  ...
  implementation 'com.afollestad.material-dialogs:bottomsheets:3.3.0'
}

Lifecycle

Lifecycle

Lifecycle Tutorial and Samples

The lifecycle module contains extensions to make dialogs work with AndroidX lifecycles.

dependencies {
  ...
  implementation 'com.afollestad.material-dialogs:lifecycle:3.3.0'
}