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 6468185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T05:51:59+00:00 2026-05-25T05:51:59+00:00

I am developing a game app for blackberry where i want to place the

  • 0

I am developing a game app for blackberry where i want to place the buttons in a semi circle fashion on the home screen…..so far I have seen all the buttons being aligned either horizontally or vertically….is there any way out where we can place buttons at custom locations such as using a layout in android and hardcoding to place them in terms of pixels? Any help is greatly appreciated

thanks

  • 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-05-25T05:51:59+00:00Added an answer on May 25, 2026 at 5:51 am

    You may do this by overriding sublayout in your field manager.

    In the following example setPositionChild defines the X,Y position of the first field (field 0) added to this manager. To add additional fields increment the number in this.getField() and add the fields to hfm in the order you position them.

    public HorizontalFieldManager testingXYPlacement() {
        HorizontalFieldManager hfm = new HorizontalFieldManager() {
    
                // Define the x,y, positions of the fields
                protected void sublayout( int width, int height ) {
    
                    super.sublayout( width, height );
    
                    Field field = null;
    
                    field = this.getField(0);
                    if (field != null && equals(field.getManager())) {
                            setPositionChild(field, XPOS, YPOS);     
                    }
    
                    setExtent( width, height);
                }
            };
    
            hfm.add(new ButtonField("hello!"));
    
            return hfm;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a little Game at the Moment (Android-App) and I want to save
I am developing an android game application,I have implemented all the screens.Now i want
I am developing an app that should have similar functionalities as the game in
I'm developing an android app, and have developed a game, but I now have
I am developing a game for Android. This game is Pacman, I have seen
I'm developing game app and using Symfony 2.0. I have many AJAX requests to
I am developing a simple game app. I am required to have two screens
I am developing an iphone game app. I want to play different audios(*.mp3) in
I'm developing the backend server for a turn based game using App Harbor and
I am developing a game in android,I want use the services to play and

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.