문제

I see three folders within my eclipse project drawable-hdpi,mdpi,ldpi

Do I need to put images in all three of these folders?Or can I just use one of them.My images seem to scale fairly well.I do not want to have duplicate images if it is uneccessary.

I guess what I am asking is will the app be able to find my images if I just use one of the above mentioned folders?

도움이 되었습니까?

해결책

Technically if you drop them in mdpi, I believe all devices 1.6 and above will find them. However, if you support below 1.6 devices you'll need to duplicate the drawable-mdpi resources and call it just drawable.

다른 팁

Yes it will find the Drawables regardless of which directory you use. You can also just have a drawable directory if you don't plan to support different densities.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top