TabBar text size on Android

Luca.9439Luca.9439 USMember ✭✭

Hello !

Im having trouble with the text size of my Tabbar on Forms.Droid.

It looks like this:
https://gyazo.com/f498d9e8af2ff598396d901307d6e5c4

Does anyone know how to make the fontsize smaller, thus fixing this issue?

Thanks!

Answers

  • cmyogeshcmyogesh INMember
    edited October 3

    Hi Luca.9439,

    Use this in your styles

                <style name="MineCustomTabText" parent="TextAppearance.Design.Tab">
                    <item name="android:textSize">16sp</item>
                </style>
    

    Use this in your TabLayout

                <android.support.design.widget.TabLayout
                            app:tabTextAppearance="@style/MineCustomTabText"
                            />
    
Sign In or Register to comment.