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

  • Home
  • SEARCH
  • 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 3282316
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:54:52+00:00 2026-05-17T19:54:52+00:00

I am currently working on an android app that is causing me some trouble.

  • 0

I am currently working on an android app that is causing me some trouble. My app is heavily dependent on images that are fitted correctly to the screen they are being displayed on. Unfortunately things like the FWVGA/WVGA resolution difference 854 vs 800 is causing me some real problems, and that’s aside from the other sizes/densieites and resolutions.

I don’t know if I’m just missing the point here but how do I go about having my app display correctly on both the resolutions without either “squashing” my images or cutting bits off of giving me black bars etc?

There doesn’t seem an immediately present solution where I can just have it display a different image automatically from the drawable folder for the right screen.

I have tried using displaymetrics but unless i have my manifest claim that it supports all screen sizes, the android OS will in fact “lie” to my app about hte current resolution.

Someone please tell me there is an easy solution.

  • 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-17T19:54:53+00:00Added an answer on May 17, 2026 at 7:54 pm

    how do I go about having my app display correctly on both the resolutions without either “squashing” my images or cutting bits off of giving me black bars etc?

    IMHO, you start by revisiting your GUI design:

    My app is heavily dependent on images that are fitted correctly to the screen they are being displayed on.

    That does not work particularly well anywhere, IMHO. Windows (including browsers) can be sized to any desired size by the user, for example.

    There doesn’t seem an immediately present solution where I can just have it display a different image automatically from the drawable folder for the right screen.

    Because Android devices can have any number of screen dimensions, just like windows and Web browsers can have any number of screen dimensions. Android does let you choose images based on density (e.g., -hdpi) or screen size (e.g., -large), but these do not map to resolutions, nor should they.

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

Sidebar

Related Questions

i'm currently working on an app for the android os that requires to fetch
I am working on an Android app that utilizes the Google Maps API MapView,
I am currently working on my first android app. In a listview, I need
I'm currently working on an XMPP app' on Android and I'm pondering about the
I am currently working on an app that uses a broadcastreceiver to check for
I'm working on an Android app that will look like this (Photoshop mockup): (source:
I have a working android app using TextView, some formatting (line breaks, rows of
I'm currently working on a project that's based on Android. Without getting into many
I'm currently working on creating a new C# project that needs to interact with
The system I am currently working on requires some role-based security, which is well

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.