<style name="MyCustomTabText" parent="TextAppearance.AppCompat.Button">
<item name="android:textSize">15dp</item>
<item name="android:textColor">@color/c_9796A9</item>
</style>
<com.google.android.material.tabs.TabLayout
app:tabTextAppearance="@style/MyCustomTabText"
/>