Skip to content

How to style a bottom-tabgroup on Android #12568

Answered by m1ga
Topener asked this question in Q&A
Discussion options

You must be logged in to vote

You can style that in tss now:

Tab: backgroundColor, activeTintColor, tintColor for the tabs or the selected tab/icon
TabGroup: tabsBackgroundColor, activeTitleColor, titleColor for the main background (green) and the title colors

"#tab" : {
    style: Titanium.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION,
    tabsBackgroundColor: "accent",
    activeTitleColor: "#fff",
    titleColor: "#333"
}
"Tab" : {
    tintColor: "#333",
    activeTintColor: '#fff'
}
"TabGroup" : {
    navBarHidden: true,
    theme: "Theme.AppCompat.NoTitleBar"
}

"#tab1": {
    backgroundColor: 'red'
}

"#tab2": {
    backgroundColor: 'blue'
}

I think there is a ticket about the ripple color

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Matt-Ferraz
Comment options

Answer selected by Topener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants