imageview - How to protect the png from stretching in Android Studio 1.2? -
as shown in figure,the png 256*328 pixel,but in preview of android studio,it big png saw in windows 7 picture viewer. mean should looked more smaller was.so how can makes big 256*328 pixel in real phone? thanks!
first you're showing in picture not size of png. it's size of imageview.
second it's not pixels(px), it's dp.
third if want picture have 256*328 pixel change xml , replace dp
px
Comments
Post a Comment