Footer Image Will Not Size Correctly
I have a footer image which does not seem to size correctly: it is cut off on every side and appears to overlap with other images (assigned to the PagerAdapter as well). How can t
Solution 1:
If you use CENTER, FIT_XY, or any of the other similar parameters you need to specify an exact size for the View rather than using match_parent
, fill_parent
, etc. If you do want to use the parent layout parameters then you will need to specify the image in java source with
Drawable d = getResources().getDrawable(drawable_id);
imageView.setImageBitmap(((BitmapDrawable) d).getBitmap());
Post a Comment for "Footer Image Will Not Size Correctly"