Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
jvilya
Posts: 3
Registered: ‎03-11-2010
My Device: All
My Carrier: All
Accepted Solution

Removing bottom panel from application (touch screen devices)

[ Edited ]

hello

 

I want to remove bottom panel (in red) from application screen. It appears when I extend MainScreen.

How I can do it?

 

Also I have complex layout on my screen and scrolling works incorrecly (it always scroll to the top of the screen) when I press any button on this panel.



Please use plain text.
Administrator
MSohm
Posts: 14,314
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Removing bottom panel from application (touch screen devices)

What BlackBerry device software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.

 

Can you provide some sample code for your custom MainScreen?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Contributor
jvilya
Posts: 3
Registered: ‎03-11-2010
My Device: All
My Carrier: All

Re: Removing bottom panel from application (touch screen devices)

Ok, simple example:

import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.container.MainScreen;

/**
 * 
 */

public class TestScreen extends MainScreen {

    public TestScreen() {
        super();
        for (int i = 0; i < 20; i++) {
            add(new ButtonField("Btn " + i));
        }
    }

}

 

 

 

When I use this code bottom panel appeared and I couldn't remove it. Also its behaviour is strange.

I use 4.7. And simulator 9530.

 

 

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Removing bottom panel from application (touch screen devices)

Does this happen on the device as well or only the simulator? I have never seen this happen before, often you need to add your own toolbar for something like that.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Removing bottom panel from application (touch screen devices)

This is a known issue on the 4.7 9530 simulator. The system toolbar will not show up on the device.

Please use plain text.
New Contributor
jvilya
Posts: 3
Registered: ‎03-11-2010
My Device: All
My Carrier: All

Re: Removing bottom panel from application (touch screen devices)

I'd tried it only on the simulator.

 

If it doesn't show up on the real device - it's great. thanks

Please use plain text.