A Aysic4Bandroid Member Licensed User Longtime User May 9, 2012 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User May 10, 2012 #2 You will need to use bitmaps of the same size. You can then set the ImageView size by setting: Code: Copy lv.TwoLinesAndBitmap.ImageView.Width = ... If you need more flexibility then you can use ScrollView instead. Upvote 0
You will need to use bitmaps of the same size. You can then set the ImageView size by setting: Code: Copy lv.TwoLinesAndBitmap.ImageView.Width = ... If you need more flexibility then you can use ScrollView instead.
A Aysic4Bandroid Member Licensed User Longtime User May 10, 2012 #3 Erel said: You will need to use bitmaps of the same size. You can then set the ImageView size by setting: Code: Copy lv.TwoLinesAndBitmap.ImageView.Width = ... If you need more flexibility then you can use ScrollView instead. Click to expand... thanks erel, i was looking for some way to define the widht/height but couldn'd find it many thanks Upvote 0
Erel said: You will need to use bitmaps of the same size. You can then set the ImageView size by setting: Code: Copy lv.TwoLinesAndBitmap.ImageView.Width = ... If you need more flexibility then you can use ScrollView instead. Click to expand... thanks erel, i was looking for some way to define the widht/height but couldn'd find it many thanks