0

In my application I want use <android.support.design.widget.TabLayout for set some fragments.
But I want show number (counter of data) next to the text such as badges .

I searched on google but not find good way!

Can you tell me which library to use or say me good way for my request?

thanks a lot

  • 1
    Refer this [link](https://stackoverflow.com/a/32889885/5594218) Hope this will help you – MinnuKaAnae Jul 07 '17 at 06:28
  • try this https://stackoverflow.com/questions/31968162/android-tablayout-tabs-with-notification-badge-like-whatsapp – ak sacha Jul 07 '17 at 06:28
  • Or this. https://gist.github.com/eneim/55df01e092520a6d33a4 . You have not searched Google.... – R. Zagórski Jul 07 '17 at 06:29
  • I would suggest you for this : https://stackoverflow.com/a/40493102/6383029 – Mustansir Jul 07 '17 at 06:45
  • @aksacha, I want use this library : https://github.com/ogaclejapan/SmartTabLayout . are support badges? –  Jul 07 '17 at 06:56
  • @Michal_196, I want use this library : https://github.com/ogaclejapan/SmartTabLayout . are support badges? –  Jul 07 '17 at 06:57
  • you have to pass only target view in the [Android ViewBadger](https://github.com/jgilfelt/android-viewbadger/blob/master/README.markdown) library – ak sacha Jul 07 '17 at 07:08
  • @aksacha, thanks my friend, but I am amateur and I should create this :( :( can you send me full code? please –  Jul 07 '17 at 07:08
  • @Us_pk have you tried anything yet? – ak sacha Jul 07 '17 at 07:09
  • @aksacha, can you send me your skype id? I write codes and show to ue for help me. please –  Jul 07 '17 at 07:11
  • You could use this library: https://github.com/egemenmede/etiyabadgetab?utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=5418 – Mustansir Jul 07 '17 at 07:25
  • @Michal_196, thanks my friend –  Jul 07 '17 at 09:37
  • check my answer hope it will solve your issue [https://stackoverflow.com/a/66254957/14588625](https://stackoverflow.com/a/66254957/14588625) – Kamran Khadim Feb 18 '21 at 06:53

0 Answers0