Horje
android dialogfragment fullscreen stack overflow Code Example
android dialogfragment fullscreen stack overflow
This below answer works for me in fragment dialog.  


  Dialog dialog = getDialog();
        if (dialog != null)
        {
            int width = ViewGroup.LayoutParams.MATCH_PARENT;
            int height = ViewGroup.LayoutParams.MATCH_PARENT;
            dialog.getWindow().setLayout(width, height);
        }
android dialogfragment fullscreen stack overflow
override fun onStart() {
    super.onStart()
    dialog?.let {
        val width = ViewGroup.LayoutParams.MATCH_PARENT
        val height = ViewGroup.LayoutParams.MATCH_PARENT
        it.window?.setLayout(width, height)
    }
}




Java

Related
constructor in java Code Example constructor in java Code Example
spring boot access images in resources folder Code Example spring boot access images in resources folder Code Example
Integer to string java Code Example Integer to string java Code Example
arraylist to int array conversion in java Code Example arraylist to int array conversion in java Code Example
loop array using stream java Code Example loop array using stream java Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8