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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:09:25+00:00 2026-05-29T10:09:25+00:00

I have a client who wants me to build an Android version for their

  • 0

I have a client who wants me to build an Android version for their existing iPhone app. The design of the iPhone doesn’t use any native iPhone elements. It’s basically some sort of grid with containing images, buttons, text, etc. Of course it was easy to make the iPhone app because of the fixed pixels widths/heights. The basic grid that defines a screen is loaded via a XIB file, and I load the custom buttons in the right containers in the grid by specifying the exact coordinates.

Then comes Android…

Our client wants to target 3 specific tablets (1024×600). They have given us designs for a ~600×980 portrait version of the app. It is not recommended to use AbsoluteLayout in Android. What is the easiest way to make sure that I can scale it on different devices but that it will look like the given design on the 3 target tablets.

One idea I had (which I’m not sure about whether I can implement it) was:

  • Get screen width in pixels and height
  • Based on width/height ratio of the design, pad with bars on top/bottom or left/right
  • Still do an AbsoluteLayout based on this information

I’d rather not do it this way because it sounds involved and counter to the Android way of doing things. Another issue that is created by scaling is the following. There is a bar of buttons that have a lines separating them. These lines are 4 pixels wide. Obviously, when you start scaling, this is going to mess this up completely. I can’t seem to find much information about this s

  • 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-29T10:09:26+00:00Added an answer on May 29, 2026 at 10:09 am

    You probably want to start here:

    http://developer.android.com/guide/practices/screens_support.html

    But quick points are probably

    • Do not use an absolute layout. Your life will become terrible
    • Handle sizes in density independent pixels so they will scale properly on different devices
    • Use ninepatch images so that when images stretch they will stretch in the proper regions maintaining your 2px borders ect.
    • Take advantage of the different resource folders for images at different densities (drawable-mdpi vs drawable-hdpi) and layouts at different sizes (layout-small vs layout-large). The latter will allow you to have separate layouts for your tablet devices.

    Best of luck 🙂

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

Sidebar

Related Questions

We have a client who wants to build an app that essentially functions as
I have a client who wants their app code signed, so we pointed them
I have a client who wants to transition off their old environment into .NET.
I have a client who wants a page to have their terms of service
I have a client who wants to build a huge Image gallery website, and
I have a client who wants to bulk-upload photo files to her existing Ruby
I have a client who wants to display live 24 hour footage on their
I have a client who wants me to build a site using PHP and
Have a client who wants to move their Wordpress.com blog over to their main
I have a client who wants to use JSF2 and they like that XHTML

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.