Android去除题栏

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"  
android:theme="@android:style/Theme.NoTitleBar"  

全屏:

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,  WindowManager.LayoutParams.FLAG_FULLSCREEN);

去除:

requestWindowFeature(Window.FEATURE_NO_TITLE);

你可能感兴趣的:(Android去除题栏)