Android custom alert dialog | Custom dialog android studio kotlin | Android Studio Tutorial | Kotlin

preview_player
Показать описание
Hello Guys, welcome to my #codingwithdev​ channel In This tutorial we will learn how to create a custom dialog/alert box in android studio using kotlin.

Please 👍𝐋𝐢𝐤𝐞 ,👤𝗦𝗵𝗲𝗮𝗿,✎𝐂𝐨𝐦𝐦𝐞𝐧𝐭 And ☝𝐒ᴜʙ𝐒ʀɪʙᴇ My 𝗬𝗢𝗨𝗧𝗨𝗕𝗘 Channel






𝐅𝐨𝐫 𝐁𝐮𝐬𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐪𝐮𝐢𝐫𝐢𝐞𝐬

𝐒ᴜʙ𝐒ʀɪʙᴇ My 𝗬𝗢𝗨𝗧𝗨𝗕𝗘 Channel #𝗰𝗼𝗱𝗶𝗻𝗴𝘄𝗶𝘁𝗱𝗲𝘃​ for more latest videos..
Thank You :-)

#Android #AndroidStudio #kotlin #KotlinAndroidAppDevelopement ##dialogbox #button #activity
#androidstudioforbeginners #androidKotlinTutorial #KotlinTutorial #custom #create #alertdialog #popup #window #codingwithdev #dialog
Рекомендации по теме
Комментарии
Автор

i think this is better that use DialogFragment, is more easy and DialogFragment is depreciated in API 23

redlion
Автор

Thank you, bro. You made my day! However, there is a small issue: when I launch my application, the layout is not fully displayed, and it appears to be shrunk. So, I made some changes in the pop-up function.

val window = dialog.window
val layoutParams = WindowManager.LayoutParams()

layoutParams.width =
layoutParams.height =
window?.attributes = layoutParams

techhub_
Автор

hey I'm missing what part is responsable for making the background go darker when the window pop up.

poesero
Автор

are there any method where the dialog waits until user clicked a button?

darkcrow
Автор

Mine is crashing followed every step. Any help?

achonwamichael