Open carmas123 opened 7 years ago
Same here. Can't use this otherwise nice lib with this bug.
You probably have android:fitsSystemWindows="true" in your activity layout. This value must be set to false. I will check if I can implement a different layout when this option is set to avoid the issue completely.
I have the same issue. Will you implement a solution?
Quick fix for anyone having this problem:
final float scale = getContext().getResources().getDisplayMetrics().density;
final View outerParent = (View) container.getParent();
outerParent.setPadding(0, (int) (24 * scale + 0.5f), 0, 0);
if your statusbar is transparent add this too:
outerParent.setBackgroundColor(getResources().getColor(R.color.colorPrimary));
outerParent.findViewById(com.franmontiel.fullscreendialog.R.id.content).setBackgroundColor(getResources().getColor(R.color.white));
Add this in your fragment´s onCreateView
Hi and thank you for your work. I try to use your library but I've a big problem when I show the dialog. I got this result:
please can you help me?