An Android library that offers dialogs & views for various use cases - build with Jetpack Compose. All of the dialogs & views are easy and quick to implement. Views can be used for PopUps, BottomSheets and other containers.
The library contains various use-cases. Each module represents one use-case and contains a *Dialog
and *View
. You can use the *Dialog
directly while you can use the *View
for bottom sheets, popups and other non-scrollable elements.
As the core
module is the foundation of all other use-cases, you have to implement that additionally to the ones you want to use.
In your top-level build.gradle
repositories {
...
mavenCentral()
}
In your app build.gradle
file:
dependencies {
...
implementation 'com.maxkeppeler.sheets-compose-dialogs:core:<version>' // necessary
implementation 'com.maxkeppeler.sheets-compose-dialogs:<module>:<version>'
}
Replace <version>
with the (latest or preferred) version of the library.
Replace <module>
with the module you want to use.
Available modules: core
| info
| color
| calendar
| clock
| duration
| date_time
| option
| list
| input
| emoji
| state
📖 Get a better insight into the API
Sheets-Compose-Dialogs API Documentation
✨ General documentation, resources and setup samples and more
[Sheets-Compose-Dialogs General Documentation](https://maxkeppeler.notion.site/sheets-compose-dialogs-804f0ebcb2c84b98b7afa5f687295aed)
Check out some of the use-cases as dialogs. All of them could be displayed within a PopUp, BottomSheet or another container view as well.
The color dialog / view allows you to pick a color from a range of template colors or a custom color.
Sample 1 | Sample 2 | Sample 3 | |
---|---|---|---|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
The calendar dialog / view allows you to pick a date, multiple dates or a range.
Sample 1 | Sample 2 | Sample 3 | |
---|---|---|---|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
The clock dialog / view allows you to pick a clock time, in either the 12-Hour-Format or the 24-Hour-Format.
Sample 1 | Sample 2 | ||
---|---|---|---|
![]() |
![]() |
||
![]() |
![]() |
The duration dialog / view allows you to pick a duration time within the bounds of a time format.
Sample 1 | Sample 2 | ||
---|---|---|---|
![]() |
![]() |
||
![]() |
![]() |
The date-time dialog / view allows you to pick a date and/ or clock-time in a quick spinner-styled way.
Sample 1 | Sample 2 | Sample 3 | |
---|---|---|---|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
The option dialog / view allows you to pick one or multiple options. Options can be preselected, disabled and the selection can be limited.
Sample 1 | Sample 2 | Sample 3 | |
---|---|---|---|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
The list dialog / view allows you to pick one or multiple options within a vertical list. Options can be preselected and the selection can be limited. The options can be displayed with a CheckBoxes and RadioButtons depending on the selection type.
Sample 1 | Sample 2 | Sample 3 | Sample 4 |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The input dialog / view allows you to build up a small form of various components to collect quickly information.
Sample 1 | Sample 2 | Sample 3 | Sample 4 |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The emoji dialog / view allows you to pick an emoji.
Sample 1 | Sample 2 | ||
---|---|---|---|
![]() |
![]() |
||
![]() |
![]() |
Credits to Vannik Tech's Emoji library - this module makes use of that lib.
- Leave a star and tell others about it
- Watch for updates and improvements.
- Open an issue if you see or got any error.
- Leave your thanks here and showcase your implementation.
- Donate me a coffee. ;)
- Open an issue to discuss what you would like to change.
- Fork the Project
- Create your feature branch (feature-[some-name])
- Commit your changes
- Push to the branch (origin feature-[some-name])
- Open a pull request
Show your appreciation by donating me a coffee. Thank you very much!
Check out some apps which are using this library.
Copyright 2022 Maximilian Keppeler https://maxkeppeler.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.