Top "Android-dialog" questions

Base class for Dialogs.

How to use startActivityForResult() through a DialogFragment?

My app requires a username to be added to function properly. The mainActivity displays the username on the top which …

java android android-dialog
Display DialogFragment content below status bar

Im trying to display an DialogFragment with match_parent both for height and width but it happens that on top …

android android-dialogfragment android-dialog android-windowmanager android-window
Dim the background using PopupWindow in Android

Can I dim the background using a PopupWindow instead of a Dialog? I am asking this because I am using …

android dialog popupwindow android-dialog android-popupwindow
Get positive Button in DialogPreference

Is there a way to get the positive button of a DialogPreference in any of its events? I would like …

android android-dialog dialog-preference
AndroidRuntimeException: requestFeature() must be called before adding content

I have dialog fragment. I have intention to use this fragment in activity and dialog. And I override onCreateDialog and …

android android-fragments android-dialog android-dialogfragment
Show dialog activity over another app from background

Say you have an app A which opens up another app B (e.g. a map), which is not controlled …

android android-activity android-dialog android-task
Material dialog library - prevent dismissing/closing the dialog on onPositive function call

I am using this Material Dialog library and when I click the positive button, the onPositive function is called and …

android android-dialog material-design
DialogFragment buttons color change in Lollipop

I would like my Fragments to look consistent with the rest of the app and color palette which I applied …

android android-5.0-lollipop android-dialog android-dialogfragment
Animation not working the in custom dialog

I have made the custom dialog following this link and its working perfectly all fine. but then I think to …

android android-animation android-dialog customdialog
change the height of custom dialog in Dialog Fragment

I have created a custom dialog, the code is below. The problem is that, the height of the dialog is …

android android-layout android-dialog android-dialogfragment