Selected tab's color in Bottom Navigation View

前端 未结 10 1994
故里飘歌
故里飘歌 2020-11-28 03:47

I\'m adding a BottomNavigationView to a project, and I would like to have a different text (and icon tint) color for the selected tab (to achieve greying out no

10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 04:18

    Try using android:state_enabled rather than android:state_selected for the selector item attributes.

提交回复
热议问题