How to set icon folder for tablets only? My tablet is pulling icons from the mdpi folder instead开发者_StackOverflow of the HDPI. Is there anyway to tell if its android honeycomb, then use these icon folder?
Android will automatically pull from the correct drawable folder depending on the density of the device. Your issue is that some tablets (not all) are actually xhdpi instead of hdpi, though I would think it would fall back to hdpi before mdpi.
Edit: On second thought, I think the more likely scenario is that your tablet is actually mdpi, as there actually aren't a lot of xhdpi devices. What tablet device are you using?
精彩评论