0
点赞
收藏
分享

微信扫一扫

Android中取消appbar的方法

陆公子521 2022-05-17 阅读 40
  • style.xml


<?xml version="1.0" encoding="UTF-8" ?>  
<resources>
<style name="notitle">
<item name="android:windowNoTitle">true</item>
</style>
</resources>

manifest.xml 

<application android:icon="@drawable/icon"   
android:label="@string/app_name"
android:theme="@style/notitle">

所以你学会了吗,这种办法最好的优势就是方便复用


举报

相关推荐

0 条评论