方法一:修改 AndroidManifest.xml 文件下的 theme 屬性
android:theme="@style/Theme.AppCompat.NoActionBar"
方法二:OnCreate方法中加入語句
getSupportActionBar().hide();
方法一:修改 AndroidManifest.xml 文件下的 theme 屬性
android:theme="@style/Theme.AppCompat.NoActionBar"
方法二:OnCreate方法中加入語句
getSupportActionBar().hide();