Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19879] NavigationWindow backgroundColor not working

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDone
Resolution Date2017-06-20T22:32:53.000+0000
Affected Version/sRelease 5.0.2
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterEric
AssigneeEric Merriman
Created2015-10-13T10:55:47.000+0000
Updated2017-06-20T22:32:53.000+0000

Description

NB: This was originally posted to community.appcelerator.com but then I was asked to post the question here. The following is a copy of what was posted at community.appcelerator.com. https://community.appcelerator.com/topic/3683/navigationwindow-backgroundcolor-not-working ---- I'm trying to set the NavigationWindow title bar to a specific background color but whatever hex value that is put in, the rendered color is a very light shade of the color I'd like. How do I get the title bar background to be rendered in the exact color that is put in? Rendered color (#E2EFF7): !5192C1 ipad.jpg|thumbnail! Expected color (#5192C1): !5192C1 expected.jpg|thumbnail! NB: For comparison, setting the background color to black results in a very light shade of gray (no screenshot at the moment).
"NavigationWindow": {
    backgroundColor: "#5192C1"
}
<Alloy>
    <!-- iPad -->
    <SplitWindow id="index" platform="ios" formFactor="tablet">
        <NavigationWindow>
            <Require src="master" id="master" />
        </NavigationWindow>
        <NavigationWindow>
            <Require src="detail" id="detail" />
        </NavigationWindow>
    </SplitWindow>
</Alloy>
Appcelerator Studio 4.3.2 iPad Air Thank you in advance!

Attachments

FileDateSize
5192C1 expected.jpg2015-10-13T10:50:31.000+000030449
5192C1 ipad.jpg2015-10-13T10:50:31.000+000027123

Comments

  1. Eric 2015-10-26

    Thank you to @Himanshu in the community Q&A for the help. The solution was to set barColor in the app.tss.
  2. Lee Morris 2017-06-20

    Closing ticket as a solution was found and customer was satisfied.

JSON Source