I’m working on what should be a full-screen application but when I set my app full-screen I noticed a dead space in the bottom. Like if the app had a bottom margin I can’t seem to get rid of that.
I have tried from
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
and I have also tried programmatically like this
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
This last segment of code I wrote before setContentView, just to clear that out.
But nothing seems to work. I really don’t know what the problem is but I would really appreciate some pointers.
This is something related to target SDK in your manifest, try playing with it by setting it to 14 and to 4
Edit
Try