I have added a Relative Layout in Custom View and have added this in Tab Layout. I am using a white background for tabs and have not applied any padding in tabs custom layou
Set tabPaddingStart/tabPaddingEnd/tabPaddingTop/tabPaddingBottom like this.
tabPaddingStart
tabPaddingEnd
tabPaddingTop
tabPaddingBottom