Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 26
Registered: ‎07-22-2014
My Device: Z30, Z10, Q10, Passport
My Carrier: Telus
Accepted Solution

Z10 theme issue

Building an app, not looking to integrate themes at this time so everything is dark.  Works great on my Z30, Z10 and Q10 but one of the other dev's Z10's tries to display it with a light theme. 

 

<!--<env var="CASCADES_THEME" value="default?primaryColor=0x04FF05"/>-->
<env var="CASCADES_THEME" value="dark?primaryColor=0x07FF01"/>

 

The bar-descriptor.xml file has these lines in it. It's odd that one Z10 works great but the other is obviously using the white theme. 

 

 

 

Developer
Posts: 26
Registered: ‎07-22-2014
My Device: Z30, Z10, Q10, Passport
My Carrier: Telus

Re: Z10 theme issue

I found a solution in another thread.  I had to update the bar file with the 'older' version of the theme.  

 

<!--<env var="CASCADES_THEME" value="default?primaryColor=0x04FF05"/>-->
<!--<env var="CASCADES_THEME" value="dark?primaryColor=0x07FF01"/>-->
<cascadesTheme>dark</cascadesTheme>

 

I hope this doesn't bite me later when I switch to 10.3?