Reputation: 179
I got images prepared for 7 inch and 10 inch tablets now i want to put them into corresponding drawable folder.I have searched some sources and got some information that both 7inch and 10inch tablets densities are mdpi. I can't put both images of different resolution on the same mdpi folder.Can anybody suggest me some idea on how to proceed the problem.
Upvotes: 2
Views: 2588
Reputation: 1849
large and xlarge are deprecated from android 3.2 Use drawable-sw600dp-mdpi for 7" tabs and drawable-sw720dp-mdpi for 10" tabs.
Upvotes: 1
Reputation: 2097
Refer below link for your solution. Try to use
drawable-large
drawable-xlarge
Different category for support all resolution. Refer this
Upvotes: 1
Reputation: 29199
7 inch tablets, comes into the largescreen category, and 10 inch tablets falls into xlarge-screen. so use following folders for both these:
1 drawable-large
2 drawable-xlarge
Upvotes: 3
Reputation: 1006549
Option #1: Use res/drawable-xlarge-mdpi/
for the 10-inch -mdpi
tablet images and res/drawable-large-mdpi/
for the 5-to-10-inch -mdpi
tablet images.
Option #2: Do not have different icons based on screen size.
Upvotes: 9