I want to change the color and width, Height of underline view? How to achieve the same.
Currently it shows a yellow underline below the current selected tab.
Change the height and width and color of current selected tab.
https://github.com/react-native-community/react-native-tab-view#tabbar-
indicatorStyle={{ backgroundColor: 'blue', height: 2 }}
@satya164 your example for on touch in ios how to add always on indicator on current selected tab
https://github.com/satya164/react-native-tab-view#tabbar
_renderTabBar = props => {
return <TabBar
{...props}
inactiveColor={colors.text}
activeColor={colors.text}
indicatorStyle={{ backgroundColor: colors.text }}
style={{ backgroundColor: colors.background }}
/>
};
Most helpful comment
https://github.com/react-native-community/react-native-tab-view#tabbar-