Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android appcompat full screen and hide status bar
<resources>
<style name="AppTheme" parent="@style/Theme.AppCompat.Light">
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
</resources>
@swsachini

This comment has been minimized.

Copy link

swsachini commented Aug 31, 2015

"android:windowNoTitle" doesn't support AppCompat Theme. Use below instead

<style name="AppTheme" parent="@style/Theme.AppCompat.Light">
     <item name="windowNoTitle">true</item>
    <item name="windowActionBar">false</item>
    <item name="android:windowFullscreen">true</item>
    <item name="android:windowContentOverlay">@null</item>
</style>
@obieM

This comment has been minimized.

Copy link

obieM commented Aug 30, 2016

Thanks, you made my day

@carolinahansen

This comment has been minimized.

Copy link

carolinahansen commented Dec 11, 2018

Thank you for your information, swsachini!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.