How to display count of notifications in toolbar icon in android

后端 未结 4 2110
猫巷女王i
猫巷女王i 2021-02-06 11:05

I would like to make an icon counter for android just like the cart. I have seen many e-commerce app cart icon count increase. I show flipkart app snapshot.:-

4条回答
  •  抹茶落季
    2021-02-06 11:19

    Just change android:actionLayout="@layout/feed_update_count" to app:actionLayout="@layout/feed_update_count". it will work

提交回复
热议问题