Add gradient color to tabIndicator
chiragmittal19 opened this issue · 4 comments
chiragmittal19 commented
Is there any way to put linear gradient as tabIndicatorColor?
ashokkumar88 commented
Yes. Just create a View with linear gradient and apply style position:"absolute,height:56"
to the View. Then below this View place TabbedViewPager
chiragmittal19 commented
@ashokkumar88 But that will cover the complete tab bar. I want to customize only the line under selected tab.
ashokkumar88 commented
@chiragmittal19 Then disable the default tabIndicator
and put your custom indicator in a View and animate with onPageScroll
event.
madhu314 commented
This feature is not planned for this library.