Top "Android-alertdialog" questions

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

AlertDialog Theme: How to change item text color?

When I try to apply a standard theme to AlertDialog AlertDialog.Builder builder = new AlertDialog.Builder(MyClass.this, AlertDialog.THEME_…

android themes android-alertdialog
How to add TextView and EditText using default AlertDialog programmatically

I've been trying to add two elements in a default AlertDialog but I can't seem to make it work. Here's …

android android-edittext textview android-alertdialog android-dialog
How to achieve custom dialog at the bottom of the screen in Android

Which component do I choose to achieve custom dialog at the bottom as shown in the below image? Shall I …

android android-alertdialog android-dialogfragment android-popupwindow
MaterialComponents theme alert dialog buttons

Recently I switched from support library to com.google.android.material:material:1.0.0 But now I have a problem, in this …

android material-design android-alertdialog android-styles material-components-android
How can I set the order of the positive and negative buttons in AlertDialog?

Why I want to do this is another discussion entirely, but I need to figure out the best way to …

android android-alertdialog
How to make a "do not ask me again" dialog pop-up box? Android

I am trying to create a "hint" dialog box that informs the user about enabling GPS on their phone will …

java android android-alertdialog
Android 6.0 Dialog text doesn't appear

I updated my phone to Android 6.0 and I have these 2 problems with dialogs: 1)The title is shown but the messages …

android android-alertdialog android-dialogfragment android-dialog android-6.0-marshmallow
Getting default padding for AlertDialog

I need to make a AlertDialog with a custom view. The message of a AlertDialog has a default padding but …

android android-alertdialog
How to align custom dialog centre in android ?

I am working on the application where i wanted to display the dialog to be screen size. So i used …

android android-alertdialog customdialog
Using ArrayAdapter with AlertDialog and .setAdapter

My code goes inside an OnOptionsItemSelected method. I've tried displaying a simple toast and it works fine, so at least …

android android-alertdialog android-arrayadapter