Djdios
Lost but trying
Profile
Posts: 175
Reg: Mar 20, 2013
Valby, Denmark
3,550
11/20/14 06:07 AM (9 years ago)

Android icons

Hi I see that the folder with the android app contains some drawable folders with icons. Can I just add the xxhdpi and xxxhdpi to the res folder for these hires icons?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/20/14 06:49 AM (9 years ago)
The way it works is, 'mdpi' is the default 'size'. placing things in 'res/drawable' and 'res/drawable-mdpi' is effectively doing the same thing. the Android OS will check for the kind of device it is, and look for images in the 'appropriate' folder first... and if it does not find any, it will seek the 'res/drawable' as a backup. So you want to place the images in the correct folder for their resolution, be they low, mid, hi, xtra high, etc... Android will take care of the choosing, much like iOS uses @2x/@3x for their high res images. Hope this makes sense. Cheers! -- Smug
 
Djdios
Lost but trying
Profile
Posts: 175
Reg: Mar 20, 2013
Valby, Denmark
3,550
like
11/20/14 07:52 AM (9 years ago)
Alright I'll try it out. Thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.