ToolBar 去掉默認左間距

簡單 首先,命名空間使用 xmlns:app="http://schemas.android.com/apk/res-auto" 這個。目的是使用自己的命名空間。 而android 自己的是這個 xmlns:android="http://schemas.android.com/apk/res/android" 注意區別。 然後,在我們使用的 ToolBar 中添加屬性 app:contentIn
相關文章
相關標籤/搜索