BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-26-2011, 06:09 AM   #1 (permalink)
New Member
 
Join Date: Aug 2011
Model: 8310
PIN: N/A
Carrier: Rogers
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Angry setting background color

Please Login to Remove!

Is it possible to set a background color for main screen?
if yes how?
Offline  
Old 08-26-2011, 07:35 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: setting background color

Use one of the versions of the setBackground() method documented in the API for net.rim.device.api.ui.Field
__________________
My other Blackberry is a PlayBook.
Offline  
Old 08-29-2011, 05:16 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2011
Model: 8900
PIN: N/A
Carrier: airtel
Posts: 29
Post Thanks: 1
Thanked 0 Times in 0 Posts
Thumbs up Re: setting background color

you can change background color of mainscreen using following code:

this.getMainManager().setBackground(BackgroundFact ory.createLinearGradientBackground(Color.BLUE, Color.BLUEVIOLET, Color.BLUE, Color.BLUEVIOLET));

Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: setting background color
Thread Thread Starter Forum Replies Last Post
Remove IT Policy John Clark RIM Software 571 10-01-2012 07:03 AM
HTML font color same as background sikittle Developer Forum 0 03-27-2008 06:59 AM
Message background color jaylasad General 8100 Series Discussion - Pearl 11 11-26-2006 02:46 PM
Background Color Question... BigFrost General 8100 Series Discussion - Pearl 2 11-11-2006 10:34 AM

New Alco AMG 24V Solenoid Coil Rplcs AA/AB 12 Watts 50/60Hz AMG-24 B12-310 USA
$125.0
New Alco AMG 24V Solenoid Coil Rplcs AA/AB 12 Watts 50/60Hz AMG-24 B12-310 USA pictureNew Alco Solenoid Valve with Coil 208-240V 17W/12W 100RB 2S2 100RB2S2 100RB2
$99.0
New Alco Solenoid Valve with Coil 208-240V 17W/12W 100RB 2S2 100RB2S2 100RB2 pictureNew Parker Reversing Solenoid Valve Coil R23 120V 30VA 1-1/8 253278C00 RS4104
$799.0
New Parker Reversing Solenoid Valve Coil R23 120V 30VA 1-1/8 253278C00 RS4104 pictureNew Asco Red Hat Valve Rebuild Kit for 3 Way Solenoid Valves 302658 8316
$99.0
New Asco Red Hat Valve Rebuild Kit for 3 Way Solenoid Valves 302658 8316 pictureNew Alco 2 Way Solenoid Valve 7/8 N/C 240RA 9T7M 240RA9T7M 043204 240RA9 240RA
$349.0
New Alco 2 Way Solenoid Valve 7/8 N/C 240RA 9T7M 240RA9T7M 043204 240RA9 240RA picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.