ListView Bitmap blurred

Aysic4Bandroid

Member
Licensed User
Longtime User
Hi,

Sorry for the duplicate thread posted this in the wrong forum -

Please can anyone explain how i can ensure that the bitmap (gif, png etc) maintains its dimensions when using it with ListView.AddTwoLinesAndBitmap2 -

It always pixelates and resizes with the ItemHeight (i think). I have small, 12x12 and16x16 icons but both are spoilt by being 'blown up in size hideously.

many thanks in advance
 

Aysic4Bandroid

Member
Licensed User
Longtime User
You will need to use bitmaps of the same size. You can then set the ImageView size by setting:
B4X:
lv.TwoLinesAndBitmap.ImageView.Width = ...

If you need more flexibility then you can use ScrollView instead.
thanks erel, i was looking for some way to define the widht/height but couldn'd find it

many thanks
 
Upvote 0
Top