android - How to show an image on a device without any quality loss -


i have 320 x 320 image on server , when download , show on device. blurred.

i tried show in imageview below params.

 <imageview         android:layout_width="fill_parent"         android:layout_height="320dp"/> 

i tried getting dp equivalent of 320 px on device(240 dpi) , reduced the layout_height="213dp"

but still image unclear. image on server clear.

  1. specify image view width , height wrap content. if not work try 2.

  2. try use draw9 patch tool generate equivalent image image have stored on server. downloaded image clear.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -