Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry Themes & Animated Graphics

Reply
Regular Visitor
polski
Posts: 1
Registered: 05-29-2011
My Carrier: Rogers

Custom Button

Hey everyone,

 

I am new to blackberry development but please bare with me. I am trying to create a custom button and import it into the eclipse JDE to use. I have downloaded the composer and made a "simple" image editing the Focus in, Focus out, and Activate state. From my understanding I need to save a image of each state. However I don't know how to export each states image from the composer. Am i over thinking this? Please any help would be greatly appreciated.

Please use plain text.
New Developer
Justam
Posts: 36
Registered: 02-14-2011
My Carrier: Rogers

Re: Custom Button

I think this should work. There may be a better way but this should work none the less.

 

Create your button in composer.

 

Specify the states and how you would like the button to appear in each state.

 

Click file > export > svg

 

Choose a location for your svg (eg: C:\mybutton\)

 

Once exported within the folder (C:\mybutton) you will find a folder called "Images" (C:\mybutton\Images\). Within this folder you should see the different images associated with your button states.

 

Hope this works/helps!

 

Please use plain text.