Shaista,

"drawable" is the default. If a higher or lower resolution image is needed, depending on the screen, Android can scale it as appropriate.

However, this automatic scaling doesn't always look that great. In those cases, you, as the developer, can provide "alternate" versions of the same resource in appropriate folders. They will override automatically scaled resources from "drawable" as appropriate based on the resource directory name (i.e. "hdpi" for high-density screens, etc.).

This gives you fine grained control: some drawables can be scaled automatically (if this scaling looks good to you), and others can have alternate (high-res or low- res) versions.

-- Kostya

27.07.2010 13:51, Shaista Naaz ?????:

Thanks for this, but I have a confusion that say I need to put one image into the drawable folder to run it in eclipse, where should i keep it, I mean in which folder or should I keep it in all the three?

Thanks,
Shaista Naaz

On Tue, Jul 27, 2010 at 3:08 PM, YuviDroid <yuvidr...@gmail.com <mailto:yuvidr...@gmail.com>> wrote:

    http://developer.android.com/guide/practices/screens_support.html

    On Tue, Jul 27, 2010 at 11:35 AM, Shaista Naaz
    <shaistanaa...@gmail.com <mailto:shaistanaa...@gmail.com>> wrote:

        Why it is that whenever I select the SDK target other than
        Android 1.1 for a new project. I get 3 folders instead of one
        folder for drawable inside res.
        And that is drawable-hdpi, drawable-ldpi and drawable-mdpi.

        Please kindly comment.

        Thanks,
        Shaista
-- You received this message because you are subscribed to the Google
        Groups "Android Beginners" group.

        NEW! Try asking and tagging your question on Stack Overflow at
        http://stackoverflow.com/questions/tagged/android

        To unsubscribe from this group, send email to
        android-beginners+unsubscr...@googlegroups.com
        <mailto:android-beginners%2bunsubscr...@googlegroups.com>
        For more options, visit this group at
        http://groups.google.com/group/android-beginners?hl=en




-- YuviDroid
    Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a
    widget to quickly access your favorite apps and contacts!)
    http://android.yuvalsharon.net

-- You received this message because you are subscribed to the Google
    Groups "Android Beginners" group.

    NEW! Try asking and tagging your question on Stack Overflow at
    http://stackoverflow.com/questions/tagged/android

    To unsubscribe from this group, send email to
    android-beginners+unsubscr...@googlegroups.com
    <mailto:android-beginners%2bunsubscr...@googlegroups.com>
    For more options, visit this group at
    http://groups.google.com/group/android-beginners?hl=en


--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to