Top "Android-alertdialog" questions

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

OnCancelListener is not called in DialogFragment

I have a simple AlertDialog that displays a list of some items and upon clicking one of them, the clicked …

java android android-alertdialog android-dialogfragment
Android - AlertDialog styling

I have an alert dialog in the app as shown below. I want the title and the line which separates …

android android-alertdialog customdialog
AlertDialog with selector

I am trying to do a Dialog with a selector that looks exactly like this: I've tried using an AlertDialog …

android android-alertdialog android-dialog
Add bigger margin to EditText in Android AlertDialog

I have an EditText inside an AlertDialog. It looks like this. See where it says tddjdjck and how it is …

android android-edittext margin padding android-alertdialog
AlertDialog's items not displayed

I create an AlertDialog with an AlertDialog.Builder and set some items with setItems(). The dialog is shown but I …

android android-alertdialog
android illegal exception when dialog is showing

I have crash log: java.lang.IllegalArgumentException: View=com.android.internal.policy.impl.PhoneWindow$DecorView{21f9ba68 V.E..... R.....…

android android-alertdialog
Right justify text in AlertDialog

Is it possible to right-justify the text in an AlertDialog's title and message? I am showing Hebrew messages but they …

android android-alertdialog justify
How to get button clicks in host fragment from dialog fragment

I have a listFragment, where I want to display a DialogFragment (Yes/No) on listItemClick. I want to get back …

android android-fragments android-alertdialog
Android: Select items in a multi-select ListView inside AlertDialog

I am new to android development and struggling with how to select certain items in a listview hosted by an …

android listview android-alertdialog selecteditem
Android | AlertDialog on RecyclerView Item Click

I have implemented a RecyclerView. Now I want to display an AlertDialog when an item of RecyclerView is clicked. I …

android android-recyclerview onclicklistener android-alertdialog onitemclicklistener