Top "Android-alertdialog" questions

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

Alert Dialog Two Buttons

Hello all i have a simple problem i have a alertDialog and i want it to show two buttons i …

android android-alertdialog
Android Error: Unable to add window -- token null is not for an application

Hy. I tried to create an alert dialog but when I run my application, is throw an exception 09-26 12:43:21.949: E/…

android android-alertdialog android-dialog
Closing a custom alert dialog on button click

I'm having trouble closing my alert dialog. I am using a layout inflator to make the dialog, so I'm not …

android android-alertdialog
Ok Button for Alert Dialog on Android

This is my code for an alert, it shows a message when button is pressed. How can i make an …

android android-alertdialog
getActivity() where it is defined?

I'm very new to android and I'm following this example. The code says we need to do these steps to …

android methods android-alertdialog
How to use Dialog Fragment? (showDialog deprecated) Android

I understand that there is this documentation http://developer.android.com/reference/android/app/DialogFragment.html#AlertDialog but as a …

android android-fragments android-alertdialog
Problem inflating custom view for AlertDialog in DialogFragment

I'm trying to create a DialogFragment using a custom view in an AlertDialog. This view must be inflated from xml. …

android android-alertdialog android-fragments android-inflate layout-inflater
AlertDialog's setCancelable(false) method not working

I had created an AlertDialog which is working fine. It is disappearing, if I press: 1) escape keyboard button or 2) back …

android android-alertdialog
How to close a Dialog in Android programmatically?

How do I close a Dialog in android programmatically for example by a button? Imagine I have a Dialog with …

java android dialog android-alertdialog
Changing font size into an AlertDialog

I am trying to put some loooong text into an AlertDialog. The only issue the default font size that is …

android textview android-alertdialog font-size