title: Can a custom view be used as a TabItem?
body: <p>The TabLayout class in android provides you with a TabItem that can let you specify a text and a icon. 
  Is it possible to use a custom view as a TabItem?</p>
  
  <p>My tab would look like this</p>
  
  <p><a href="https://i.stack.imgur.com/SIQmB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SIQmB.png" alt="enter image description here"></a></p>
  
  <p>as you can see besides an icon and a text label, I also have a notification symbol (a number inside a yellow circle). how can I make tabs like this?</p>