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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:37:04+00:00 2026-05-30T20:37:04+00:00

I have received a PSD layout from my client, and I it contains some

  • 0

I have received a PSD layout from my client, and I it contains some fixed background images, and below those images there should be some Buttons, TextViews, etc.

The problem is, that for example the Game Over screen has a background, then there should be image with “You win” or “You lose”, above the background in specific offset from top left corner.
If I design the interface for 480×800 phones, and specify the offset in pixels, everything’s OK. But if I deploy it into 320×480 phone, it of course doesn’t fit, because pixel offsets are different now and the background is scaled.

Using dip units doesn’t help, because the smaller phones have physically smaller screens too.

here is a sketch of what I’d like to do. All and it should look similar on phones from 240×320 do 540×960. Is it possible to somehow do this in single XML layout file or do I have to hand-code offsets for every resolution that comes to my mind?

The main problem is that on the picture, the red frame around “you win” is a place where it fits into the orange background, because that’s the way the graphics is designed. And when the app is run on phone with smaller resolution, I don’t exactly know how to align the “you win” picture on the orange one. 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-05-30T20:37:05+00:00Added an answer on May 30, 2026 at 8:37 pm

    create different size images from provided PSD for different screen size layout, and create different layout xml file for different screen size, in different layout file you can provide reference of images which fit for layout.

    For better aprroach you should go here and also this

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

Sidebar

Related Questions

We have received some JavaScript from an agency that looks wrong, but works. For
I have a block of product images we received from a customer. Each product
I have received comments from blind users that some of my sound and music
Doing a small project I have received some Java code that I should rewrite
We have received a WSDL from our client that we use to communicate with
I have received some code from another team and started to simple improvement and
I have received some invalid XML data from a poll provider and would like
We have received Java code from a software supplier. It contains a lot of
I have received an assembly from a third party. I need to add it
I have added some code which compiles cleanly and have just received this Windows

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.