Kotlin's AlertDialog and BottomSheetDialog
Alert Dialog | Sheet Dialog | Progress Dialog |
---|---|---|
![]() |
![]() |
![]() |
- Imitate IOS style
- Rounded style
- Highly customizable
- Very lightweight
- Android SDK Version 21
- Kotlin Development language
val alertDialog = AlertDialog(this)
alertDialog.setTitle(R.string.mobile_phone_password_wrong)
alertDialog.show()
val items = arrayOf(getString(R.string.password_login), getString(R.string.sms_login_or_register))
val sheetDialog = SheetDialog(this, items)
sheetDialog.setMessage(R.string.logout_prompt)
sheetDialog.show()
sheetDialog.onItemClickListener = {
}
val progressDialog = ProgressDialog(this)
progressDialog.show()
Does your organization or project use PhotoBrowse? Please let me know by email.
- weifans, duanhaisi@gmail.com
- FlyWind https://feifeng.cn
AlerDialog is available under the MIT license. See the LICENSE file for more info.