Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10815] API: Implement a property for setting active tab color per a tab.

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsTiAPI
Labelsapi, parity
ReporterJosh Roesslein
AssigneeUnknown
Created2012-09-07T14:52:53.000+0000
Updated2018-02-28T20:03:29.000+0000

Description

Currently there is a property on TabGroup called "activeTabBackgroundColor" which allows you to specify the tab's color when that tab is activated. Currently there is no property to set the active color per a tab. A proposal to the architectural community should be made to approve for adding a property to Tab called "activeBackgroundColor". This property controls the color of the tab when it is active. Note: Android currently implements this active color behavior using Tab.backgroundSelectedColor. This creates a parity issue with MobileWeb which uses this property to control the color when the tab is pressed down (much like a button would change color when pressed and held down). We should probably change Android to implement this press down behavior and map the active color behavior to the new "activeBackgroundColor" property. Do NOT implement this feature until it is approved by the architectural counsel.

Comments

  1. Bryan Hughes 2012-09-07

    -FWIW, we implement the activeBackgroundColor property such that it sets the active background color of the tab, so basically exactly what this ticket is asking for.- Nevermind, I was thinking of something else. So really we need to implement 8 new properties: [active , active disabled , active focused , active selected] X [color, image] so that it matches the 8 active* properties on TabGroup.

JSON Source