Android中取消appbar的方法

阅读 40

2022-05-17

  • 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)

0 0 举报