HTML5 Game Tutorials

Fullscreen Android Layout style

in android – app – src – main – res – values – styles.xml

Please add below code to hide the action bar and the title bar

<!– <style name=”AppTheme.NoActionBar” parent=”Theme.AppCompat.DayNight.NoActionBar”>

<item name=”windowActionBar”>false</item>

<item name=”windowNoTitle”>true</item>

<item name=”android:background”>@null</item>

</style> –>

<style name=”AppTheme.NoActionBar” parent=”Theme.AppCompat.DayNight.NoActionBar”>

<item name=”windowActionBar”>false</item>

<item name=”windowNoTitle”>true</item>

<item name=”android:windowFullscreen”>true</item>

</style>

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>