Android Tabstrip Custom Color

2 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    7 posts
    Member since:
    Aug 2009

    Posted 04 Jun 2012 Link to this post

    I was wondering what styles I need to overwrite in order to change color of the tabs, both background and foreground, specifically for android.  I need the color to be lighter than the current tab colors.
  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 05 Jun 2012 Link to this post

    Hi Ben,

    To change the active tab color, use the background-color of the whole TabStrip:
    .km-android .km-tabstrip
        background: green;

    To change the active Android TabStrip icon color, use this rule:
    .km-android .km-tabstrip .km-state-active .km-icon
        background: green;

    You can also use a -webkit-gradient() there, it will clip accordingly.

    To change the TabStrip background color, use this rule:
    .km-android .km-tabstrip .km-button
        background: silver;

    Kamen Bundev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top