2 years ago

#69111

test-img

Ярослав

How add divider to material alert dialog?

i have the following code

    val builder = MaterialAlertDialogBuilder(requireContext())

    with(builder) {
        setSingleChoiceItems(cities, checkedItemId) { dialog, cityId ->
        ...

i need to do like this enter image description here

but i have this how to add separators enter image description here

android

kotlin

android-alertdialog

material-components-android

0 Answers

Your Answer

Accepted video resources