Default buttons of alert dialog are not working in Android -


I am using AlertDialog to show some data using XML data. But when I flip an XML into an alert dialog, the default buttons are not displayed. Please help

Just add new buttons to your xml file and get that button's ID and on it Click the listener This button is working for me.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -