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!

http://i4.tietuku.com/a03d2f14cc11fcd0.png

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

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -