panda panda - 3 years ago 75
Android Question

Full Screen in customize theme

My app need to show as full screen, now I know how to add this feature into application tag in Mainfest using


However, I have my own theme called "CodeFont", and I cannot use two themes at the same application. How I can add this feature into my own style tag in my resources file? there is no such android:style tag.
plz help. thx.

Answer Source

Create your custom theme by using default theme, like this

window with Fullscreen

<style name="generalnotitle" parent="general">
    <item name="android:windowFullscreen">true</item>

window with NoTitle

<style name="generalnotitle" parent="general">
    <item name="android:windowNoTitle">true</item>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download