A customizable Android library to display bottom dialog. It Supports LTR/RTL directions. All parameters are customizable.
- MIN-SDK Version = 14
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.Mojtaba-Shafaei:AndroidBottomDialog:last-version'
}
BottomDialog.builder()
.withIcon(R.drawable.ic_error_outline_red_700_24dp)
.withTitle("Warning", typeface, R.dimen.titleTextSize)
.withContent("Do you remove this ... ?", typeface, R.dimen.contentTextSize)
.withPositiveText("Yes.Remove it.", R.color.textPrimaryColor)
.withPositiveBackgroundType(BottomDialog.BLUE)
.withNegativeText("Cancel", R.color.textSecondaryColor)
.withNegativeBackgroundType(BottomDialog.TRANSPARENT)
.build()
.show(MainActivity.this);
- Mojtaba Shafaei Email
This project is licensed under the MIT License