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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:15:33+00:00 2026-06-01T16:15:33+00:00

I often get finished designs where a designer made the background and draw where

  • 0

I often get finished designs where a designer made the background and draw where the buttons should be placed. Like on this sketch image

enter image description here

The background in this example is simple, but in design it has a lot of graphics where each button has to be placed to its designed location or the final screen will not look nice.

So far, in order to place the buttons on each screen and resolution, I had to make a constant location values for MDPI and then using the scale value (getResources().getDisplayMetrics().density) calculated the locations for other resolutions.

This is a very long and cumbersome process, so I was wondering if there is a better way. Which methodology do you use when you want to locate buttons or other elements to its precise locations?

  • 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-01T16:15:34+00:00Added an answer on June 1, 2026 at 4:15 pm

    Absolute positioning of screen elements is inappropriate in most cases on Android as there are so many devices and screens. The best approach is usually to use view groups like the RelativeLayout and place items relative to each other, whilst providing bitmaps at the various screen densities. However you should be able to get what you need from doing this.

    It is best to have designs that include an element of flexibility, so if the designs require everything to be in exactly the right place I’d venture to suggest that the design is the problem, not Android.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get this error in xml file very often. here is the code in
I'm fairly new to Photoshop (Still CS4) and I often get designs for websites
In requests to my application i often get ids of the objects, which should
I often get into situation when I'd like to use template method pattern, but
Since installing Visual Studio, I often get this kind of error messages when apps
I often get in a position when I need to know why my LINQ
I often get strange resulst when passing int variables to tasks such as in
I'm using msys-git and notice I often get strange characters in the output after
When using an HttpConnection in a BlackBerry app, you often get HTTP cookies in
In the Google Chrome debugger, I often want to get a reference to a

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.