Android app loading images from /drawables-nodpi/ with scaling

前端 未结 1 1159
说谎
说谎 2020-12-21 22:49

I recently rebuilt my Android project to target 2.2 from 2.1.

In the old project, I did not specify a target SDK (the manifest did not contain something like: androi

1条回答
  •  南方客
    南方客 (楼主)
    2020-12-21 22:57

    Did you try this?

    From Google:

    If you plan on reading an image as a bit stream in order to convert it to a bitmap, put your images in the res/raw/ folder instead, where they will not be optimized.

    0 讨论(0)
提交回复
热议问题