Learn how to make an Alert Dialog with a custom layout. Rather than using the default view with a title, text, and buttons, you will create your own XML layout and use that for the Alert Dialog instead!
GitHub Repo 4 code: https://github.com/IJ-Apps/Alert-Dialogs
IJ Apps Instagram - / ij_apps
Join the IJ Apps Discord! / discord
E-rrigation app!
https://play.google.com/store/apps/de...
The E-rrigation app allows you to save money and cut down water usage by optimizing sprinkler placement before you put the sprinkler system in place.
Check it out and leave a review!
Check out my Face Analyzer app on the Google Play Store: https://play.google.com/store/apps/de...
----------
Subscribe to IJ Apps to stay up to date when new videos are released and share the channel with friends!
IJ Apps Website: https://ij-apps.wixsite.com/android
*IJ Apps GitHub Page: https://github.com/IJ-Apps
*Personal GitHub Page with Cool and Complex Projects: https://github.com/ishaanjav
0:00 Example of a Custom Dialog
0:18 MainActivity setup
0:39 Creating the Custom Layout
1:22 Creating the Dialog
2:52 Running the app
3:06 Small modifications
3:35 Dialog with custom layout!
3:40 Setting onClickListeners()
5:41 Getting text from EditText
6:24 Final app