Removing the default toolbar in an activity android
问题 Before upgrading to android 3.1 .I usually just change the theme to a theme. app compact. NoTitleBar but the new version of android studio is having errors recognizing it.I solved this problem by adding base to the beginning. But I can seem to find any answer regarding a style theme that supports removing the custom bar. 回答1: Add this style in style file . where other styles are mentioned . <!-- Base application theme. --> <style name="AppThemeNoActionBar" parent="Theme.AppCompat.Light