Modal dialog functionality using AlertDialog

后端 未结 1 1935
温柔的废话
温柔的废话 2021-01-25 11:46

I want to keep AlertDialog focused until a user presses any of the buttons on it. In other words, even if a user presses any other area (like it\'s parent area) or

1条回答
  •  没有蜡笔的小新
    2021-01-25 12:32

    use setCancelable(false); It will stop removing your AlertDialog from your screen.

    0 讨论(0)
提交回复
热议问题