MaterialTabHost icon indicating copy to clipboard operation
MaterialTabHost copied to clipboard

Not able to style the component

Open dkokic opened this issue 10 years ago • 0 comments

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

dkokic avatar May 12 '15 06:05 dkokic