[TIMOB-25624] Androd: "tabDividerColor" for tab is not working.
	
	
| GitHub Issue | n/a | 
|---|
| Type | New Feature | 
|---|
| Priority | Critical | 
|---|
| Status | Closed | 
|---|
| Resolution | Won't Fix | 
|---|
| Resolution Date | 2019-06-24T22:55:50.000+0000 | 
|---|
| Affected Version/s | n/a | 
|---|
| Fix Version/s | n/a | 
|---|
| Components | Android | 
|---|
| Labels | android | 
|---|
| Reporter | Andreas Pingas | 
|---|
| Assignee | Yordan Banev | 
|---|
| Created | 2017-12-19T10:43:43.000+0000 | 
|---|
| Updated | 2019-06-24T22:55:50.000+0000 | 
|---|
Description
	Is there a way to change colour in TabGroup? (color of the divider between tabs)
The following appears on the documentation:
tabDividerColor : String
Color of the divider between tabs, as a color name or hex triplet.For information about color values, see the "Colors" section of Titanium.UI.
The above way doesn't work. Is there another solution?
Thank you in advance.
Attachments
 
Hello, I can verify the issue on Android with the below code.
var win1 = Ti.UI.createWindow({ backgroundColor: 'blue', title: 'Blue' }); win1.add(Ti.UI.createLabel({text: 'I am a blue window.'})); var win2 = Ti.UI.createWindow({ backgroundColor: 'red', title: 'Red' }); win2.add(Ti.UI.createLabel({text: 'I am a red window.'})); var tab1 = Ti.UI.createTab({ window: win1, title: 'Blue' }), tab2 = Ti.UI.createTab({ window: win2, title: 'Red' }), tabGroup = Ti.UI.createTabGroup({ tabs: [tab1, tab2], tabDividerColor: 'red' }); tabGroup.open();Can you share where in the documentation this property appears?
This can be done via theme/style XML file. This is how native Android developers would do it as well. An example on how to set up this XML file can be found in our "kitchensink-v2" sample app here... https://github.com/appcelerator/kitchensink-v2/blob/master/app/platform/android/res/values/custom_theme.xml I believe the "primaryColor" and "accentColor" XML values are what you need to set.
Closing per dev comments.