Kotlin - custom dialog in Android(Kotlin - Android 中的自定义对话框)
问题描述
我想在 Kotlin 中创建一个自定义对话框
.我在 Stack Overflow 上查看了有关此主题的问题,但找不到任何有用的信息.我该怎么做?
I want to create a custom dialog
in Kotlin. I looked through questions on this theme on Stack Overflow, but I could not find any useful information. How can I do it?
推荐答案
您可以将以下代码用于自定义对话框.这是我的工作代码.
You can use below code for a custom Dialog. It's my working code.
这篇关于Kotlin - Android 中的自定义对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!