Android隐藏标题栏、状态栏、导航栏及全屏方法总结
Android开发中,有时候根据需求要隐藏标题栏、状态栏、导航栏或者全屏显示。看似很简单的功能,但是不注意使用环境,就会出现错误。 java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 在AndroidManifest.xml中使用 android:theme="@android:style/Theme.Light.NoTitl......