Reputation: 1
you kown android has many folder to place picture file.And now, I want to kown my picture belong to which folder(ldpi, mdpi, hdpi...)? thank you
Upvotes: 0
Views: 205
Reputation: 6071
Well, that all depends on what types of pictures you're going to use.
For example, app logos are to be stored in the following way (for best use):
Size | Directory
36x36 | drawable-ldpi/
48x48 | drawable-mdpi/
72x72 | drawable-hdpi/
96x96 | drawable-xhdpi/
Regular images to be included in the app could be scaled down using a 8/6/4/3 scale, leading to the following:
Directory | Scale %
drawable-xhdpi/ | 100%
drawable-hdpi/ | 80% (of xhdpi)
drawable-mdpi/ | 50% (of xhdpi)
drawable-lhdpi/ | 37.5% (of xhdpi)
Upvotes: 0
Reputation: 318
Android supports several configuration qualifiers that allow you to control how the system selects your alternative resources based on the characteristics of the current device screen.
If you are a beginner and you dont have these different qualities of that single resource. place it anywhere, and link to that. Android SDK will automatically adjust and place it for urself.
For more information see this Link
Upvotes: 1
Reputation: 4157
Read here:
http://developer.android.com/guide/practices/screens_support.html#qualifiers
Upvotes: 0