xml:
<<FONT face=宋体>activity android:name=".FirstActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
在styles.xml文件中吧Theme主题改为
<<FONT face=宋体>style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
代码中实现:getSupportActionBar().hide();