Note that replacing:

bRemove.setLayoutParams(new ViewGroup.LayoutParams(
     ViewGroup.LayoutParams.WRAP_CONTENT,
     ViewGroup.LayoutParams.WRAP_CONTENT)
     );

with:

bRemove.setLayoutParams(new ViewGroup.LayoutParams(MY_IMG_WIDTH,
MY_IMG_HEIGHT));

fixes the problem, but this is an ugly fix and I still dont understand
why the original code results in a SCALED UP image.

Again, thanks for any answers,

-szabolcs

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to