Reputation: 553
I have a listview
that retrives images from parse.com. But in parse.com I can upload only one density pixel image which is retrieved. How I support multiple devices with different densities like xhdpi,xhdpi,xxxhpi
Upvotes: 1
Views: 98
Reputation: 48
You have listview,so you have adapter for the listview. So you can layout view for the adapter like below You define the Imageview width and height in a certain number.And the and the scaleType is fitxy, So all the image you download will display as you defined size.
<ImageView
android:scaleType="fitXY"
android:layout_width="80dp"
android:layout_height="80dp"/>
Upvotes: 1