android 取消Title 头部标题栏
16lz
2021-12-04
第一种
requestWindowFeature(Window.FEATURE_NO_TITLE);
第二种
Androidmanifest 里的 android:theme="@android:style/Theme.Light.NoTitleBar"
第三种 是android studio 的 androidmanifest
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
第四种 打开我们的values文件夹下的styles.xml
<style name="AppTheme" parent="AppBaseTheme">
<item name="android:windowNoTitle">true</item><----添加这一行
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
更多相关文章
- [已解决]mac android studio安装报错java.lang.RuntimeException
- android用于打开各种文件的intent
- android添加广告之--admob
- android添加广告之--admob
- Android(安卓)源码编译如何确定模块安装的位置
- android打开前置摄像头和后置摄像头
- android 打开文件
- android camera [一] Camera open process
- 删除android ScrollView边界阴影方法