Compound Widgets Components Library
This is a collection of UI compound components that you can use with applications.
Installation
Step 1. Add the JitPack repository to your project build.gradle
file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency in the form
dependencies {
implementation 'com.github.kenargo:compound_widgets:${latest_version}'
}
Sample App Included shows Java and Kotlin use
- Full support of Android Dark Mode
See example images below
NotificationDialog
A collection of dialog displaying an icon, title, message and expandable section for "more information"
- ONE_BUTTON
- ONE_BUTTON_NO_TITLE
- ONE_BUTTON_AND_PROGRESS
- ONE_BUTTONS_AND_EDIT_TEXT
- ONE_BUTTONS_AND_SEEKBAR
- TWO_BUTTONS
- TWO_BUTTONS_NO_TITLE
- TWO_BUTTONS_AND_PROGRESS
- TWO_BUTTONS_AND_EDIT_TEXT
- TWO_BUTTONS_AND_SEEKBAR
- THREE_BUTTONS
- THREE_BUTTONS_NO_TITLE
- THREE_BUTTONS_AND_PROGRESS
- THREE_BUTTONS_AND_EDIT_TEXT
- THREE_BUTTONS_AND_SEEKBAR
WidgetBackTitleForwardDelete
WidgetMinMaxSeekBar
WidgetPlayPauseControl
widgetSpin
WidgetTitleAndSeekBar
WidgetTitleAndSeekBarEditText
WidgetTitleAndSpinner
WidgetTitleAndSwitch
WidgetTitleAndSwitchSeekBar
Credits:
Credit for included source code:
- https://github.com/hakobast/DropdownTextView
- Source in 'derivedWorks' because git version has a minSdkLevel=19, this library supports minSdkLevel=17
- Used in NotificationDialog
-https://github.com/zcweng/SwitchButton - Source in 'derivedWorks' because git version doesn't display in designer view - Used in WidgetTitleAndSwitch and WidgetTitleAndSwitchSeekBar