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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:21:56+00:00 2026-05-27T16:21:56+00:00

I noticed that whenever I tested my app on my Droid X and Droid

  • 0

I noticed that whenever I tested my app on my Droid X and Droid Bionic, the images where actually fine. But whenever I tested it on Larger devices such as Android Tablet. The image is kinda stretched.

I also have a question about the information below, I tried to make 4 copies of “my_layout.xml” and store it in “layout,layout-small,layout-xlarge,layout-xlarge-land” folders. Each of them contain different sizes of the image. That one did the work, they all look good in any sizes of screen devices. But my problem is, I have 300 or more layouts that contain the same image, does it mean I have to create a copy for each one of them and modify the image size? Is there any other way to solve this?

res/layout/my_layout.xml             // layout for normal screen size ("default")
res/layout-small/my_layout.xml       // layout for small screen size
res/layout-large/my_layout.xml       // layout for large screen size
res/layout-xlarge/my_layout.xml      // layout for extra large screen size
res/layout-xlarge-land/my_layout.xml // layout for extra large in landscape orientation

I also tried to make different sizes of the image and store it in “drawable-hdpi,drawable-ldpi,drawable-mdpi” They all look fine in all screen devices except in “5.1 WVGA, 5.4in FWVGA, and 10.1 WXGA”

Like I said before, making different layouts with different sizes solve the problem, but do I really have to create a copy for each one of them and modify the image size? Is there any other way to solve this?

  • 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-27T16:21:57+00:00Added an answer on May 27, 2026 at 4:21 pm

    You need not re-size manually & add in “drawable-hdpi,drawable-ldpi,drawable-mdpi” This will increase your APK’s size, instead use only one High Resolution image and put it in “drawable-nodpi” or just in “drawable” or drawable-hdpi. Test it in all the devices. It should work fine.
    Tip: put the image that will look Good in 10.1 WXGA, Automatically, the Lower size screen will look good.

    EDIT : Create image of the Ratio 3:4:6:8

    Ex: if you have an image of width:120px and Height:90px for low resolution devices (drawable-ldpi), then, for drawable-mdpi is 3:4 (120×4/3) = 160

    drawable-mdpi the image size should be W:160px , H:120px

    drawable-hdpi the image size should be W:240px , H:180px (twice of ldpi)

    drawable-xhdpi the image size should be W:320px , H:240px (twice of mdpi)

    Make sure that all your images are of good quality, even if it’s of different dimensions.

    Refer : How to Support Multiple Screens

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

Sidebar

Related Questions

I noticed that you can call Queue.Synchronize to get a thread-safe queue object, but
I noticed that the generic IEnumerator<T> inherits from IDisposable, but the non-generic interface IEnumerator
i'm using berkeley db and i'm new to it. I have noticed that whenever
I noticed today that whenever I build a word add in project of mine,
I've noticed that viewDidLoad of the viewController will not run if the app has
So I've noticed that HttpContext.Cache is cleared whenever the worker process is recycled. I
I've just installed Skype on my Android phone and I've noticed that when I
I've noticed that whenever I have package-level constants (or any variables for that matter),
I've noticed that whenever I write a program that uses std::cin that if I
I noticed that in the AllegroGraph Python API tutorial here , whenever they want

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.