List of all Iphone and Blackberry Development codes in a one click Iphone,objective C,xcode,blackberry Development,iOS Development

Thursday, February 7, 2013

Changing Background color in Blackberry

    // Solid Background
    Background back=BackgroundFactory.createSolidBackground(Color.ANTIQUEWHITE);
    setBackground(back);

   
    // Solid Background with Transperancy    
    Background back=BackgroundFactory.createSolidTransparentBackground(Color.AZURE,180);
    setBackground(back);
   

    // Gradient Background
    Background back = BackgroundFactory.createLinearGradientBackground(
    Color.AZURE,Color.BISQUE,Color.AZURE, Color.BISQUE);
    setBackground(back);

    // Bitmap Background
    Background back = BackgroundFactory.createBitmapBackground(your_image, 0, 0,0);
    setBackground(back);
   


        

No comments:

Post a Comment