开发者

Android: Image Pixel Question

开发者 https://www.devze.com 2023-03-31 06:09 出处:网络
I have a simple question here regarding image. I have this image 300x240pixel on my laptop screen, however when i put it into the android phone, it becomes 开发者_开发百科smaller. why is this so?

I have a simple question here regarding image.

I have this image 300x240pixel on my laptop screen, however when i put it into the android phone, it becomes 开发者_开发百科smaller. why is this so?

I did some research before posting here, apparently this got to do with dpi? Is it possible to to have the same 300x240 size on my laptop screen to be displayed on the android phone without being pixelated?

Thank You


Yes, but you will need to use the different dpi sections in res/drawable folders. Reference: http://developer.android.com/guide/practices/screens_support.html

0

精彩评论

暂无评论...
验证码 换一张
取 消