** styles.xml
add <item name="windowNoTitle">true</item>
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
...
<item name="windowNoTitle">true</item>
//add this line
</style>
</resources>
<item name="windowNoTitle">true</item>
-> no title bar only.
<item name="windowFullscreen">true</item>
-> no status bar.
댓글
댓글 쓰기