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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:21:05+00:00 2026-05-28T04:21:05+00:00

I am on one really big project that was started sins the time of

  • 0

I am on one really big project that was started sins the time of android 1.5.

This project evolved as android was evolving and at this point supports 2.3 and above.

Now I got this problem I have a lot of drawables in drawable-hdpi,drawable-mdpi,drawable-ldpi but also in drawable folder.

Generally the concept of this 3 folders(drawable-hdpi,drawable-mdpi,drawable-ldpi) it is clear to me but my confusion comes with the images in drawable folder.

for example I have an image named myimage.png and this image is present in drawable-hdpi,drawable-mdpi,drawable-ldpi folders with resolution 72×72,48×48,36×36 respectively but this image is also present in drawable folder.

My question is why ? when does the image from drawable folder is used ? is this image forgotten to be removed ? of it is used in some cases ? I have tried to remove this image and the application works just fine. I also have put just a green color with resolution 72×72 and this image is never drawn

so can someone clarify me the existence of the drawable folder ?

I know that if I do not have the dhpi,mdpi and ldpi folders then I need to put the images in drawable but what is the point of images in drawable when this 3 folders are present ?

Thanks

EDIT

one more question, what if I have image in drawable-hdpi but not in ldpi and not i mdpi. Let say we have phone with mdpi resolution density… What will happen ?

  • 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-28T04:21:06+00:00Added an answer on May 28, 2026 at 4:21 am

    drawable folder is used for default images if the images are not found in the respective folders then it will look into the drawable folder.

    I found this phrase in the doc:

    For example, imagine you have an application icon, icon.png, and need unique version of it for different locales. However, two locales,
    English-Canadian and French-Canadian, need to use the same version.
    You might assume that you need to copy the same image into the
    resource directory for both English-Canadian and French-Canadian, but
    it’s not true. Instead, you can save the image that’s used for both as
    icon_ca.png (any name other than icon.png) and put it in the default
    res/drawable/ directory. Then create an icon.xml file in
    res/drawable-en-rCA/ and res/drawable-fr-rCA/ that refers to the
    icon_ca.png resource using the element. This allows you to
    store just one version of the PNG file and two small XML files that
    point to it. (An example XML file is shown below.)

    Please refer this link for more clearity.

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

Sidebar

Related Questions

I've got one really big .java class file that has a lot of members.
this one is really easy. I'm trying to create a Regular Expression that will
This is really several questions, but anyway... I'm working with a big project in
I have a project going on right now that is really big data model
Boy, this one is really weird. I expect the following code to print 1990,
Ok, this one is really weird... I can't show code for it exactly cause
One thing I really like about AS3 over AS2 is how much more compile-time
I've got a big project written in PHP and Javascript. The problem is that
Ok guys. I've begun developing a little sparetime project that might become big someday.
We (my team and I) have a big web project that will deal with

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.