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

Adobe AIR Development

Reply
Highlighted
New Contributor
Posts: 6
Registered: ‎01-11-2011
My Device: Not Specified

MXML View background color

How does one set the background color for a view?

 

it seems that in FB 4.5, it's a grey/black color but in the emulator, it's transparent. 

 

how can i change/set the background color of a specific view?

 

thanks

 

 

Super Contributor
Posts: 306
Registered: ‎08-10-2010
My Device: Not Specified

Re: MXML View background color

hi

you can set the background color of the view by setting the following property of the mxml file

in this tag

<s:MobileApplication> add the property backgroundColor ="0xffffff"

by adding this property you can set the background color of the view

 

if you find this helpful press Kudos