[TIMOB-24173] Can not customize Tab backgroundColor and backgroundFocusedColor
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Reopened |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | n/a |
| Reporter | ILAY SENER |
| Assignee | Unknown |
| Created | 2016-11-04T06:14:51.000+0000 |
| Updated | 2018-02-28T19:55:16.000+0000 |
Description
unable to add color to tab background using any of the available parameters via Alloy(XML) or TSS files.
*To Reproduce*
1. Create a classic app two tabs app
2. Edit
Titanium.UI.createTab to include
backgroundColor: 'red',
backgroundFocusedColor : "yellow"
3. Run the app
*Expected Result*
The color of the tab should be red when it is inactive, and yellow when it is focused.
*Actual Result*
Default color is used.
Attachments
| File | Date | Size |
|---|---|---|
| app.tss | 2016-11-16T23:52:44.000+0000 | 780 |
| index.js | 2016-11-16T23:52:24.000+0000 | 15 |
| index.tss | 2016-11-16T23:52:40.000+0000 | 263 |
| index.xml | 2016-11-16T23:52:32.000+0000 | 292 |
| Screen Shot 2016-11-04 at 17.11.45.png | 2016-11-04T06:14:50.000+0000 | 1091528 |
| Screen Shot 2016-11-04 at 17.13.52.png | 2016-11-05T00:11:27.000+0000 | 220308 |
[~isener] I'm not able to reproduce the issue. Please upload an application that we can use to test this out.
I'm not able to reproduce this. Please reopen when we have a test app to reproduce the issue.
Hi Feon, Please see the attached code for the simples tab colouring on Android. I have re-started the emulator, but background colour still not appearing.
I am using Mac OS Sierra, Appc Version : 4.8.0.201611121409
Move this to TIMOB.