Top "Android-alertdialog" questions

A subclass of Dialog that can display one, two or three buttons.

android activity has leaked window com.android.internal.policy.impl.phonewindow$decorview Issue

I am working with Android application to show network error. NetErrorPage.java package exp.app; import android.app.Activity; import …

android android-layout memory-leaks android-alertdialog
"android.view.WindowManager$BadTokenException: Unable to add window" on buider.show()

From my main activity, I need to call an inner class and in a method within the class, I need …

android android-alertdialog
Change the background color of a pop-up dialog

I wrote android code that shows a pop-up dialog but I want to change the background color from black to …

android android-alertdialog background-color
AlertDialog styling - how to change style (color) of title, message, etc

I've breaking my head over this quite a bit. What I need to do is, change the style of all …

android android-alertdialog android-theme android-styles
How to dismiss AlertDialog in android

I created AlertDialog that contains 4 buttons OptionDialog = new AlertDialog.Builder(this); OptionDialog.setTitle("Options"); LayoutInflater li = (LayoutInflater) this.getSystemService(Context.…

android android-alertdialog dismiss
How to display AlertDialog in a Fragment?

I want to display an alert dialog in my app. I am using fragments. I tried the below code to …

java android fragment android-alertdialog android-context
Android Image Dialog/Popup

Is it possible to have just an image popup/come-up in an Android application? It's similar to an overriding the …

android dialog android-imageview android-alertdialog
How to select a entry in AlertDialog with single choice checkbox android?

I have an alert dialog with a single-choice list and two buttons: an OK button and a cancel button. The …

android android-alertdialog
How to put an image in an AlertDialog? Android

I don't know how to put an image into an AlertDialog. I have this code, but i think this is …

android android-alertdialog
How can I add a third button to an Android Alert Dialog?

The API says that the Alert Dialog can have one, two or three buttons, but the SDK only allows for …

android android-alertdialog android-dialog