- 清单文件中设置application theme标签 >
android:theme="@style/Theme.AppCompat.NoActionBar"
- 在activity在onCreate方法的setContentView()方法之前
getSupportActionBar().hide()
android:theme="@style/Theme.AppCompat.NoActionBar"
getSupportActionBar().hide()