[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.
The tab divider color does not change, it remains the default ash color. Thank.
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.