BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-26-2011, 06:09 AM   #1
salassi
New Member
 
Join Date: Aug 2011
Model: 8310
PIN: N/A
Carrier: Rogers
Posts: 12
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
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
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
kewal
Knows Where the Search Button Is
 
Join Date: Mar 2011
Model: 8900
PIN: N/A
Carrier: airtel
Posts: 29
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: setting background color
Thread Thread Starter Forum Replies Last Post
Remove IT Policy John Clark RIM Software 572 05-13-2017 05:15 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


Kitchen Brain Fast Z080120HFC Digital Timer, 8-Timers, Memory, 120V Fast 81308 picture

Kitchen Brain Fast Z080120HFC Digital Timer, 8-Timers, Memory, 120V Fast 81308

$175.00



Allen-Bradley 1764-MM2 MicroLogix Memory Module Ser.A picture

Allen-Bradley 1764-MM2 MicroLogix Memory Module Ser.A

$223.63



New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC picture

New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC

$291.74



2711-NM11 PCMCIA Linear Flash Memory Card 256KB Fast Shipping AB 2711NM11 picture

2711-NM11 PCMCIA Linear Flash Memory Card 256KB Fast Shipping AB 2711NM11

$350.66



New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC picture

New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC

$286.59



OKTIS-2 Octane Tester Portable Fuel Analyzer Gasoline Petrol Octane Number Meter picture

OKTIS-2 Octane Tester Portable Fuel Analyzer Gasoline Petrol Octane Number Meter

$167.73







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