Top "Android-alertdialog" questions

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

How can I create custom alert dialog with grid view in android?

How can I create a Alert Dialog with a GridView as shown in the image above?

android android-alertdialog android-gridview
Resources$NotFoundException: Resource ID #0x0 in AlertDialog

I have a RecyclerView, and in its adapter, I have created something similar to an OnLongClickListener, which I am calling …

android android-alertdialog
About Android Progress Dialog. Avoid?

I was reading about Dialogs in Android site and I came across a section that saying "Avoid ProgressDialog". Here is …

android android-fragments android-alertdialog android-dialog android-progressbar
How do you validate the format and values of EditTextPreference entered in Android 2.1?

Does anyone have sample code to validate user entered text in preferences? For example, I have a EditTextPreference for user …

java android validation preferences android-alertdialog
AlertDialog Displays Landscape-Sized View with Orientation in Landscape

My app's main activity is set in the manifest to always be in portrait view. This works fine when I …

android orientation android-alertdialog landscape-portrait
EditText in dialog android

i have made a edittext in a dialog but i cant get to change the height. AlertDialog.Builder editalert = new …

android android-edittext android-alertdialog layoutparams
Android Ringtone picker list with default option selected

I am trying to display a window picker dialog in android with the default selection to be instead of "None" …

android android-alertdialog android-alarms ringtone
Dialog buttons with long text not wrapping / squeezed out - material theme on android 5.0 lollipop

While optimizing an app for material theme on lollipop, I'm encountering this annoying problem: Whenever there is long text on …

android button android-alertdialog android-5.0-lollipop material-design
How to set dialog outer margins? (Android)

I need add custom margins around dialog. Any suggestion how to do this? (dialog position top : 100 px, left 50 px, etc)

android android-layout android-alertdialog margins
Custom Menu on button click as drop down

I am trying to implement the action bar functionality of the flipkart app.. For this I have successfully created a …

android android-alertdialog android-dialog android-styles optionmenu