Top "Android-alertdialog" questions

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

Android: disable DialogFragment OK/Cancel buttons

How can I disable OK/Cancel button of a DialogFragment when it is created using an AlertDialog ? I tried calling …

android button android-alertdialog dialogfragment
Multiple choice alert dialog with custom row layout

I need to create an AlertDialog with multiple choice items but I'm having some trouble trying to set a custom …

android adapter android-alertdialog multiple-choice
DialogFragment Class Deprecated in Android P

The Android Documentation gives the following warning. This class was deprecated in API level P. Use the Support Library DialogFragment …

android android-fragments android-alertdialog android-9.0-pie
How do you disable a button inside of an AlertDialog?

I am trying to write an AlertDialog with 3 buttons. I want the middle, Neutral Button to be disabled if a …

java android android-alertdialog classcastexception
Android: How can I change AlertDialog Title Text Color and Background Color without using custom layout?

I want to change AlertDialog title color and background color without using custom layout. My requirement, I tried below code, …

android android-alertdialog background-color textcolor
How do I display a CalendarView in an AlertDialog?

I'm trying to display the CalendarView in an Alert Dialog, but all that shows up is the month/year and …

android android-layout android-widget android-alertdialog calendarview
Reducing font size of AlertDialog.Builder's components

I created an AlertDialogue using the following code : int selectedModeId=0; public void sortTypeModeSelection(){ AlertDialog.Builder alertBuilder=new AlertDialog.Builder(WatchListDetailActivity.…

android android-alertdialog android-custom-view android-fonts
Show a dialog in `Thread.setDefaultUncaughtExceptionHandler`

When my android application throw an exception, I want to show a custom dialog to tell user there is something …

android exception-handling android-alertdialog android-dialog
The method getWindow() is undefined for the type AlertDialog.Builder

Idea taken from Android: Blurring and dimming background windows from dialog. I'm having trouble getting the content under my dialog …

java android android-alertdialog blur
AlertDialog or Custom Dialog

I'm developing an Android 2.2 application. I want to show a text with an Ok button but I want to add …

android dialog android-alertdialog android-2.2-froyo