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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:08:23+00:00 2026-05-20T08:08:23+00:00

This seems to be a widespread problem . I have the following drawable directories:

  • 0

This seems to be a widespread problem.

I have the following drawable directories:

drwxr-xr-x  18 mike  staff   612 Feb  4 17:28 drawable/
drwxr-xr-x  51 mike  staff  1734 Feb  4 17:32 drawable-nodpi/
drwxr-xr-x  44 mike  staff  1496 Feb  4 17:30 drawable-normal-mdpi/

My xml drawable resources are in drawable. My resources intended for the large-mdpi (Dell Streak) and normal-hdpi (Droid, Nexus, Incredible, etc.) are all in drawable-nodpi. My resources for normal-mdpi (older phones like the G1) are in drawable-normal-mdpi.

Unfortunately, the normal-hdpi phones like the Droid are pulling their resources from drawable-normal-mdpi instead of from drawable-nodpi. This is likely because of the rules in How Android Finds the Best-matching Resource.

So the question is, how do I provide support for large-mdpi devices like the Streak along with normal-hdpi devices like the Droid, as well as normal-mdpi devices like the G1?

The simplest solution would probably be to make two copies of my large resources, one in normal-hdpi for the droid and one in large-mdpi for the streak, but i’d like to avoid duplicating all of these resources.

Update

Per Mayra’s suggestion, I could make an alias for every resource. However, there are a lot of resources I’d have to make aliases for, which would make maintenance a nightmare going forward, so I’m hoping for another 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-20T08:08:23+00:00Added an answer on May 20, 2026 at 8:08 am

    Rename your “drawable-nodpi” to “drawable-nodpi-800×480” (the nodpi needs to be in there, or it wont work!) and rename “drawable-normal-mdpi” to “drawable-480×320”.

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

Sidebar

Related Questions

This seems to be a problem related to Safari only. I've tried 4 on
This seems very strange to me but I have a script that I'm running
This seems like a simple problem but I can't seem to find the answer.
This seems like a pretty softball question, but I always have a hard time
This seems to be a common problem but I cannot find a solution. I
This seems something I shouldnt have to waste a question on, but I can't
This seems like a very strange problem. I'm stress testing my neo4j graph database,
By trying to solve this problem , something made me wonder. Consider the following
This seems like it should be a well known problem, but I haven't been
This seems like it should be obvious but I can't figure it out. Suppose

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.