只需要在themes.xml中的<style>中添加下面的item <item name="windowNoTitle">true</item> <item name="android:windowFullscreen">true</item>