Which layout manager to use

Hello everyone, I drove to the development of my application, I realized that the way in which I developed my application makes ony eyes straight on "BOLD" size screens. My footer is set to use all the way up, but what I really want, it of so he can "stick" to the lower part of the screen and let the section between the header and the footer to expand to fit the screen of the phone.

The following example illustrates what I would do (arrow indicates there area I'd like to expand). Achieve will require that I write my own layout manager, or is there already a that I could use for this?

Screen offers setTitle and setStatus. See http://supportforums.blackberry.com/t5/Java-Development/MainScreen-explained/ta-p/606644

Tags: BlackBerry Developers

Similar Questions

  • Qosmio G40 - which driver can be used for remote control?

    Hello

    Which driver should I use for remote control?

    How to configure with the PC?

    Thank you very much.

    I assume that you need remote control manager.
    This tool is preinstalled on your Qosmio laptop?

  • Task manager shows use ram go down 2-4 GB at a time

    Even when I started just the pc to the top when I go into task manager, the use of the ram will be about 2 GB after about 2 to 5 minutes using the ram will go straight up to about 4 to 6 GB when I don't have to start all programs then later fall up to 2 GB. This happens all of the time I use the computer (ram use jumps up and down without reason everything I do), I MSE running all the time and the pilots is on that I scanned with Malwarebytes/MSE/TDSSKiller and windows is up-to-date (windows 7 Edition home premium x 64).

    Any reason, what would happen?
    If you go in the Manager of tasks, and then select process, you can click the memory tab, do the sort Ascending or descending, and that should give you your answer on what is the use of the RAM.

    I hope this helps.

    It's not at all because with 4 GB of physical memory used the process using the most memory is dwm.exe with 34 956 K.
    Finally fixed that was a service called wmpnetwk.exe which would eat up to 2 + GB RAM all the minutes, I turned off since then.
  • [ADF, JDev12.1.3.] Where I save the managed bean used by a fragment? Main stream unlimited task or btf?

    Hallo,

    I have a fragment for which I created a managed bean extended backingBean.

    My doubt is where I save this bean.

    In the main stream task without terminals? Or in the stubborn workflow in which the frament is used?

    Thank you

    Federico

    In the BTF where the fragment is used!

  • Managing roles using the solution of the OIM/OAM/OID

    Dear members

    I am faced with confusion while providing the solution about the OAM and OID.

    We have the portal WC system where authentication solution implemented using OAM 11 g. We expect authentication based on roles with the help of OID/IOM.

    I hear, by authentication based on roles, we're essentially the user roles will find in these roles. So they have will go through SSO system and their landing page will be the same. But the controls and links will be displayed according to their role.

    We do not use oracle role manager then manage it using OID.

    Is there a possible solution. Please help me its urgent.

    Thanks in advance.


    Concerning

    Arun Kumar Singh

    Hi Arun,

    In OAM, you can define authorization policies that allow or deny access to resources based on a value of attribute (of the logged in user). For example, you might allow access to the url/admin only to users who have a value of 'Administrator' in an attribute. Another approach is simply to set the attribute as a Variable for header (this is also defined in an OAM authorization policy) so that it is passed to the receiving application, which can then query the value of the attribute and take appropriate action.

    In these cases, OAM is only using the values of the attribute or send them to another application. To manage the values (put them properly for users/applications etc.) you would use a tool like the IOM to ensure that they are properly sized.

    Kind regards

    Colin

  • Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but

    Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but I can't it to work on the laptop.

    I downloaded "New tab Pro" on the laptop (do not even see on desktop computers so don't think about) such that she was like the real deal but nope... do not work. Running the latest version of MF, ideas on how activate it please?

    Thank you guys are going to mark as 'resolved' BTW it is no "folder on the desktop named old data from Firefox. Hmmmmmm.

  • How will I know which photos have been used in albums?

    Because other problems I've had with Photos and synchronization of devices (posted elsewhere) I found myself with a lot of duplicates. As I began the process of removing duplicate files, I realized that if I delete the images referenced in various projects and albums, I'll completely mess up their.

    Is there a way to know which files have been used in albums at the miniature scale, perhaps while the Info window is open?

    I know one can implement a smart album for photos that aren't in any album, but is not very useful when looking at the entire library and trying to determine what duplicates can be deleted because not all images in this smart album have duplicates.

    It's tricky in Photos, Pope.

    The only thing you can see in the overlays on the thumbnails Photos is Favorites icon and title, as well as a few other insignia, as edited. There are no visible flag or a color label.

    You could do your cleaning duplicate in PowerPhotos, were you can view the metadata more under the thumbnails, for example of keywords.

    Or the titles of all the photos used in the albums of prefix of a unique prefix, you can see under the thumbnails. You would need a script that do.

  • Under which community should I use for apple store questions?

    Under which community should I use for apple store questions?

    I need to get my Bill for a 5s iphone that is more than 18 months.

  • Firefox process continues to run. I can't open a new session until I manually stop Firefox 32 process in the tax Manager. Using Win Vista Ultimate 64 Version 6.0 Service Pack 2

    Firefox process continues to run. I can't open a new session until I manually stop Firefox 32 process in the tax Manager. Using Win Vista Ultimate 64 Version 6.0 Service Pack 2

    Firefox is already running but is not responding

    Firefox crashes on exit

    Check and tell if its working.

  • How to cancel the composition of Apple's music for which I do not use and therefore do not want to pay for?

    How to cancel the composition of Apple's music for which I don't use, so don't want to pay for?

    Thank you!

    Click here, follow the instructions and wait until it expires. If you must cancel immediately, or wanting a refund of already paid money, Contact Apple.

    (136676)

  • Which driver should be used to connect HP 34401 using RS 232

    Hello

    I'm using labview for the first time. I want to use the RS 232 cable to connect between Labview and HP 34401 multimeter. Which driver should be used for this purpose? Help, please.

    Thanks in advance!

    A search for the HP 34401A on the Instrument Driver Network reveals this page, which should have what you need. If you're using LabVIEW, you will want one of the first two projects.

    Also, for future reference, this board is for NI DMMs. For future instrument driver assistance, you will receive more timely and expert information on NI's Instrument Control forum.

    Please let us know if you require any further assistance.

    Thank you,

    Tobias
    Software Engineer
    Precision DC/Modular Instruments
    National Instruments

  • No matter which usb port I use for a usb hub

    I have a compac presario CQ60-215DX notebook and I want to install a usb hub. No matter which usb port I use? would also like to know if it is necessary to remove it to restart my computer"

    Thanks for any help.

    Karen

    The only time you usually get trouble with USB ports is when you mix both USB 3.0 and USB 2.0 devices.

    • For all USB 3.0 is backward compatible, it is simply not the case that all the older devices are USB 3.0 compatible.  If you have a problem with an older device, consider that it may be because it is plugged into a USB 3.0 hub / port.
    • Not all hubs are created equal.  If you try to run some devices high speed (things you plug a hub) on a lower speed (2.0) turntable, they may lose the integrity of the data (Act funny) or refuse to perform certain tasks (depending on the device).  These devices may work best when it is plugged directly into the computer no matter that they are running as the USB 3.0 or USB 2.0.  It is not, therefore, necessarily what port the hub is connected - rather, it could be the hub itself (if you have problems).

    Peripheral USB could better with a reboot - some may not reset at all without rebooting.  A USB hub, one of the simplest types - these are usually plug-and-play.  That's all that is connected to the hub, which could be the determining factor for the restart.  It's Windows - it is always better to restart when things change.

  • HP 6520: printer will not printer to paper tray from the photo tray which I don't use.

    Printer won't paper tray from the photo tray which I don't use. I don't know why he did it.  Printer has never been used for photos and I used it for awhile.

    K3B

    Welcome to the Community Forum of HP.

    The following could be useful, although it can't help if the printer is actually refusing to tray assignments:

    Printing options

    Click on the thumbs-up Kudos to say thank you!

    And... Click on accept as Solution when my answer provides a fix or a workaround!

    I am happy to provide assistance on behalf of HP. I do not work for HP.

  • How to switch web browser and which one should I use

    How to switch web browser and which one should I use thanks

    FireFox.
    http://www.Mozilla.org/en-us/Firefox/new/

  • Custom layout manager: question sublayout

    Trying to implement a border layout manager (see the code), I'm having problem with the sublayout method. When the method is called, the value for the parameter "width" is 240, but the value for the parameter "size" is "1073741823' that really confuses me. I expect the value of "260" that I have tested on a simulator of Pearl.

    Can someone shed some light on this subject?

    JDE: 4.3

    Simulator: 8130

    Here is the code:

    class BorderLayoutManager extends Manager {
    
        public BorderLayoutManager() {
            super(Manager.NO_VERTICAL_SCROLL);
        }
    
        //overwrite the nextFocus method for custom navigation
        protected int nextFocus(int direction, boolean alt)
        {
            // Find the next field to be focused
        }
    
        protected void sublayout(int width, int height) {
        // calculate the position of each field, then call
        // setPositionChild() and layoutChild() for each field
        }   
    
       public int getPreferredWidth(){
        // calculate preferred width
       }
    
       public int getPreferredHeight(){
        // calculate preferred height
       }
    }
    
    public class MyScreen extends MainScreen{
        public MyScreen(){
            super();
            BorderLayoutManager manager = new BorderLayoutManager();
            manager.add(BorderLayoutManager.NORTH, new LabelField("North"));
            manager.add(BorderLayoutManager.SOUTH, new LabelField("South"));
            manager.add(BorderLayoutManager.WEST, new ButtonField("WEST"));
            manager.add(BorderLayoutManager.EAST, new ButtonField("EAST"));
            manager.add(BorderLayoutManager.CENTER, new RichTextField("center"));
            add(manager);
        }
    }
    

    If your custom Manager Manager has vertical scrolling enabled, then the height will show that this large number.

Maybe you are looking for