Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8304515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:52:07+00:00 2026-06-08T17:52:07+00:00

I am new in blackberry, i am developing one blackberry application in which i

  • 0

I am new in blackberry, i am developing one blackberry application in which i am make a login screen where one white strip image are placed at top and logo should appear on that strip. so simply i have take two horizontalFieldManager for it and for strip it will display good but logo are stay below at strip.

Here is my Code ::

((VerticalFieldManager) getMainManager()).setBackground(BackgroundFactory.createSolidBackground(0xEDEDED));

        HorizontalFieldManager hfm =  new HorizontalFieldManager(Field.FIELD_VCENTER );
        HorizontalFieldManager hfm2 =  new HorizontalFieldManager(Field.FIELD_VCENTER );
        Bitmap Topstrip = new Bitmap(Display.getWidth(), Display.getHeight());
        Bitmap MoneLogo = new Bitmap(Display.getWidth(), Display.getHeight());
        boolean lowRes = Display.getWidth() <= 320;
        if (lowRes)
        {
            // The device has a low resolution screen size
            Topstrip = Bitmap.getBitmapResource("topstripbg.png");
        }
        else
        {
            Topstrip = Bitmap.getBitmapResource("topstripbg-mdpi.png");
            MoneLogo= Bitmap.getBitmapResource("logo72X72.png");
            // The device has a high resolution screen size

        }
        BitmapField TopstripimgField = new BitmapField(Topstrip);
        BitmapField MoneLogoimgField = new BitmapField(MoneLogo);

        hfm.add(TopstripimgField);
        hfm2.add(MoneLogoimgField);
        add(hfm);
        add(hfm2);

I want like this ::

--------------------------------------
 ____
|LOGO|           ** Strip ** 
|____|
--------------------------------------

Please also suggest me good UI Tutorial for best practice

Update:

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T17:52:09+00:00Added an answer on June 8, 2026 at 5:52 pm

    try this –

    final Bitmap bg=Bitmap.getBitmapResource("background.png");
        VerticalFieldManager top = new VerticalFieldManager(Manager.NO_HORIZONTAL_SCROLL | Manager.NO_HORIZONTAL_SCROLLBAR | Manager.VERTICAL_SCROLL | Manager.VERTICAL_SCROLLBAR | Field.USE_ALL_WIDTH){
            public void paint(Graphics graphics) {
                graphics.setBackgroundColor(Color.WHITE);
                graphics.clear();
                graphics.drawBitmap(0, 0, bg.getWidth(),
                        bg.getHeight(), bg, 0, 0);
                super.paint(graphics);
            }
    
        };
    
    
    final Bitmap logo= Bitmap.getBitmapResource("logo.png");
    top .add(new BitmapField(logo));
    add(top);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing one Blackberry application using Eclipse, I need to show images in
i am developing a simple calculator application in blackberry now, and i am new
I am new to mobile application technologies.... We are developing applications for iPhone/android/blackberry/windows mobile.
We are trying to consume webservices in blackberry.We are very new in developing apps
Please tell me will BlackBerry application till OS 7.1 work for new BlackBerry OS
I am new in Blackberry. Can anyone help me out for following queries? Which
I'm new to Blackberry application development and I need a piece of advise. I
I am developping a BlackBerry application which communicates with the server via HTTP requests(
I am developing a blackberry app and I am new to Blackberry. I am
i am developing app in Blackberry which have GPS Functionality. so first i want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.