Top "Android-dialogfragment" questions

DialogFragment is a fragment that displays a dialog window, floating on top of its activity's window.

AlertDialog with custom view: Resize to wrap the view's content

I have been having this problem in an application I am building. Please ignore all of the design shortcomings and …

java android android-layout android-alertdialog android-dialogfragment
Fragment inner class should be static

I have a FragmentActivity class with inner class that should display Dialog. But I am required to make it static. …

android fragment android-dialogfragment
Setting the size of a DialogFragment

I have been trying many commands to setup the size of my DialogFragment. It only contains a color-picker, so I …

android android-dialogfragment
Position of DialogFragment in Android

I have a DialogFragment to show a View like a Popup screen. The Window appears always in the middle of …

android android-layout android-fragments android-dialogfragment
onRequestPermissionsResult not being called in dialog fragment

I have started to work on Android M runtime permission. Here I am facing the issue that if requestPermissions is …

android android-fragments android-dialogfragment android-6.0-marshmallow
DialogFragment setCancelable property not working

I am working in an android application and am using a DialogFragment to show a dialog and I want to …

android android-dialogfragment
DialogFragment advantages over AlertDialog

When developing an Android app, I've read that it's recommended to use DialogFragment instead of using directly an AlertDialog to …

android android-alertdialog android-dialogfragment dialogfragment
DialogFragment fullscreen shows padding on sides

I am creating a custom DialogFragment that is displayed underneath the actionbar. So far everything works great. The layout parameters …

android android-layout android-dialogfragment
Show DialogFragment from onActivityResult

I have the following code in my onActivityResult for a fragment of mine: onActivityResult(int requestCode, int resultCode, Intent data){ //…

android android-fragments android-dialogfragment
Android: How to have dialogFragment to fullscreen

Hello I have tried to override the theme to the dialogFragment for fullscreen but the full screen I wanted was …

android fullscreen android-dialogfragment