Since which Android version is "drawable-nodpi" supported? Is it safe to put images in "res/drawable-nodpi" and expect them to work in all android version from at least since 2.0(Eclair) and up?
Asked
Active
Viewed 1.0k times
9

Yaroslav Mytkalyk
- 16,950
- 10
- 72
- 99

Hari Krishna Ganji
- 1,647
- 2
- 20
- 33
-
Not sure, but you can always use the /raw folder and load a bitmap from there to be sure it works and doesn't get scaled – Stefan de Bruijn Feb 13 '13 at 10:17
-
1I am not sure but its Android 1.6+. – Manish Lomte Feb 13 '13 at 10:19
-
Oh, if it works since 1.6 them I am safe! :-) – Hari Krishna Ganji Feb 13 '13 at 10:39
-
@Stefan: Yeah but, its not that seamless when using in layout.xml files, right? Actually I am using the "drawable-nodpi/my_image_big.png" as an original for my "drawable-xlarge-mdpi/my_image.xml". So, I choose "drawable-nodpi", because I dont want android to scale them. :-) – Hari Krishna Ganji Feb 13 '13 at 10:42
1 Answers
16
According to this document there is no "Added in API level X" below nodpi. So it must be supported by all platforms.

Yaroslav Mytkalyk
- 16,950
- 10
- 72
- 99
-
Yeah, that's what I thought. I couldn't find the added since mention anywhere in the documentation. Thanks! – Hari Krishna Ganji Feb 13 '13 at 10:38