【Android】日常記錄:BottomNavigationView自定義樣式,修改點擊後圖片

一、創建項目時選擇BottomNavigationView 二、修改res/menu/navigation.xml 第一個item的icon設置爲被選中的樣式,因爲默認會顯示第一個item <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android">
相關文章
相關標籤/搜索