I'm trying to open drop down spinner in full screen (immersive mode), but the issue is that when the drop down opens up it brings out translucent navigation bar at the bottom. The navigation bars hides when an option is selected, but remains visible as long as dropdown is visible.
I was able to remove this behavior in dialog fragment since I have show(FragmentManager manager, String tag)
method to override and add this
getDialog().getWindow().getDecorView().setSystemUiVisibility(getActivity()
.getWindow().getDecorView().getSystemUiVisibility());
// Make the dialogs window focusable
again.getDialog().getWindow().clearFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE);
but no method similar to this available in spinner. I tried to put these method in performClick()
using listener implementation in the parent but still no luck.
Any solution to this issue.