yanzm / MaterialTabHost

TabHost along with the specifications of the Material design
Apache License 2.0
93 stars 20 forks source link

Not able to style the component #4

Open dkokic opened 9 years ago

dkokic commented 9 years ago

I am using the component as:

        <net.yanzm.mth.MaterialTabHost
            android:id="@+id/activity_music_media_browser_tabs"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:colorTabIndicator="@android:color/black"
            app:colorAccent="@color/orange"
            style="@style/AppTheme.TabHost"
            />

The style is defined as in your README:

    <style name="AppTheme.TabHost" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="colorPrimaryDark">#00695C</item>
        <item name="colorPrimary">#00897B</item>
        <item name="colorAccent">#FFD54F</item>
    </style>

The app:colorTabIndicator is making effect, but the rest not. Any suggestions what might went wrong? Thanks in advance