BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-08-2009, 12:16 PM   #1 (permalink)
New Member
 
Join Date: Sep 2008
Model: 8310
PIN: N/A
Carrier: Telefonica
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
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.

Im 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 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: Ernakulam, Kerala, India
Model: 8320
Carrier: Airtel
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
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 (permalink)
New Member
 
Join Date: Sep 2008
Model: 8310
PIN: N/A
Carrier: Telefonica
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
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


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

Mini Red LED DC 0-10A 3 Digital Panel Ammeter Amp Ampere Meter with 2 Wire
$1.99
Mini Red LED DC 0-10A 3 Digital Panel Ammeter Amp Ampere Meter with 2 Wire pictureDC 50uA Ammeter 85C1 Mechanical Analog Panel Meter current measuring DC 0-50uA
$0.01
DC 50uA Ammeter 85C1 Mechanical Analog Panel Meter current measuring DC 0-50uA picture100mA DC Bench Amp Meter 100 Milliamp ammeter 3.25" Face
$18.49
100mA DC Bench Amp Meter 100 Milliamp ammeter 3.25Fluke 179 True RMS Multimeter Voltmeter Ammeter Volt Ohm Amp Meter Temperature
$224.94
Fluke 179 True RMS Multimeter Voltmeter Ammeter Volt Ohm Amp Meter Temperature  pictureDigital LCD Multimeter Voltmeter Ammeter AC DC OHM Volt Tester Current Check WT
$0.99
Digital LCD Multimeter Voltmeter Ammeter AC DC OHM Volt Tester Current Check WT picture






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