在主题style.xml中添加一下两句话即可:
<item name="windowActionBar">false</item> <item name="windowNoTitle">true</item>