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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:26:59+00:00 2026-05-31T07:26:59+00:00

My app is compatible with Android 1.6 – Android 4.0.3. I want my drawables

  • 0

My app is compatible with Android 1.6 – Android 4.0.3. I want my drawables to target each platform from start to end with all the relevant qualifiers (x|h/m/ldpi & swxxxdp) where the system theme changed.

Off the top of my head, 1.6 – 2.2 was one theme, 2.3.x was 1 theme, 3.0x was another theme and now 4.0x is another theme.

Currently, my res folder looks like this:

  • drawable
  • drawable-hdpi
  • drawable-hdpi-v11
  • drawable-hdpi-v9
  • drawable-ldpi-v9
  • drawable-mdpi-v11
  • drawable-mdpi-v9
  • drawable-sw320dp
  • drawable-sw600dp
  • drawable-sw720dp
  • drawable-v11
  • drawable-xlarge

With each Android version, I feel my res folders are less efficient than they could be. Having looked at the ICS source res, there are only a few base drawable folders, the others are mainly language specific.

My question is a) how to organise my drawables folders to target each theme correctly & b) am I doing something wrong with the folders at the moment?

  • 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-31T07:27:00+00:00Added an answer on May 31, 2026 at 7:27 am

    (1) To optimize the APK size, try create alias resource.
    http://developer.android.com/guide/topics/resources/providing-resources.html#AliasResources

    (2) Conflict between swxxxdp and vxx resource.
    According to resource folder searching priority, it would match swxxxdp folder before vxx.
    As smallest width has higher priority compare version.
    (Version is the lowest priority qualifier)
    Read best match for some clues:
    http://developer.android.com/guide/topics/resources/providing-resources.html#BestMatch

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

Sidebar

Related Questions

My app is compatible from Android 2.x through 4.x: <uses-sdk android:minSdkVersion=7 android:targetSdkVersion=15 /> For
My app needs to build a buffer from all the selected cells on a
Can any one please help to block the app opening from android 3.0. I
So I'm trying to make my Android 2.1 (Eclair) app be compatible in terms
From the official documentation : Using the External Storage Every Android-compatible device supports a
I'm planning on developing an app for android that requires a back-end server to
I want to send a csv file from Android to Python AppEngine. I'm using
I have a published app for Android 1.x and 2.x, and now I want
I have run my android app against the new build target provided by the
I am trying to make my web app compatible with international languages and I

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.