BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-08-2009, 12:16 PM   #1
jagv98
New Member
 
Join Date: Sep 2008
Model: 8310
PIN: N/A
Carrier: Telefonica
Posts: 2
Unhappy How to remove the blank spaces between the fields in the Custom Button Field Example

Please Login to Remove!

Hello everybody.

I'm trying to develop an application but I have a problem that I could not solve. And its that I dont know how to remove the blank space between each field in the example "CustomButtonsDemo.java" I tried everything. Help.

I´m only using the class "PictureBackgroundButtonField.java" and not the class "CustomButtonField.java" because I only want create a custom button with a Bitmap as its background.
Offline  
Old 03-09-2009, 02:10 AM   #2
Ananthasivan V K
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: Ernakulam, Kerala, India
Model: 8320
Carrier: Airtel
Posts: 65
Default

Hi Jag

As far I understand, you need to layout the ButtonFields, It'll resolve your problem. For layout you should override the method sublayout for the manager which you are using to add the fields, It may be the MainScreen, or VerticalFieldManager or HorizontalFieldManager etc.
__________________
Regards
Anand.
Offline  
Old 03-10-2009, 09:56 AM   #3
jagv98
New Member
 
Join Date: Sep 2008
Model: 8310
PIN: N/A
Carrier: Telefonica
Posts: 2
Default

Hi, Ananthasivan the problem was solved, I was using the vertical field manager but the problem was that the code of the example was a Nonfocusable Field between the focusable fields. I eliminate the Nonfocusable field and that was all.
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


Commercial Convection Steamer Altair picture

Commercial Convection Steamer Altair

$800.00



MSA Altair 5 Gas Detector 00030456 picture

MSA Altair 5 Gas Detector 00030456

$334.99



MSA 10152669 ALTAIR Pump Probe, Grey, Standard Straight Air Line, North American picture

MSA 10152669 ALTAIR Pump Probe, Grey, Standard Straight Air Line, North American

$325.00



MSA ALTAIR H2S SINGLE GAS DETECTOR -Hydrogen Sulfide (SEPT 20) 01002590 picture

MSA ALTAIR H2S SINGLE GAS DETECTOR -Hydrogen Sulfide (SEPT 20) 01002590

$19.99



MSA 10152603 XCELL ALTAIR 2X SINGLE GAS DETECTOR O2 RPLCMNT SENSOR *NEW OPENBOX* picture

MSA 10152603 XCELL ALTAIR 2X SINGLE GAS DETECTOR O2 RPLCMNT SENSOR *NEW OPENBOX*

$239.00



MSA 10152605 XCELL ALTAIR 2X SINGLE GAS DETECTOR H2S-LC RPLCMNT SENSOR *OPENBOX* picture

MSA 10152605 XCELL ALTAIR 2X SINGLE GAS DETECTOR H2S-LC RPLCMNT SENSOR *OPENBOX*

$300.00







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