I have a DialogFragment with an xml layout and I need it to be, let\'s say 75% as wide as the screen. When I look for answers I always find the common weight<
DialogFragment
weight<
You can achieve this by setting a style to your dialogfragment on it's onCreate method:
setStyle(DialogFragment.STYLE_NORMAL,R.style.yourStyle);
and in your styles.xml