astuetz / PagerSlidingTabStrip

An interactive indicator to navigate between the different pages of a ViewPager
139 stars 44 forks source link

Customization attrs don't seem to work #197

Open jkwiecien opened 9 years ago

jkwiecien commented 9 years ago

How do we exactly customize it from the xml?

I tried

        psts:pstsShouldExpand="true"
        psts:pstsDividerPadding="@color/white"

but it doesn't affect the tabs

Runtime setters work though

bricker commented 9 years ago

Try app:pstsShouldExpand="true". You'll also need to add xmlns:app="http://schemas.android.com/apk/res-auto" into your root element.