intellignt_idiot intellignt_idiot - 1 year ago 180
Android Question

Android ImageView , image gets cut off at the top Left corner, how to avoid id?

I have an imageView with


The images are showing inside ViewPager with sliding functionality.
I am using picasso to load images, but the image gets cut off on the top left corner like below :

enter image description here

enter image description here

Here is the xml code :

<FrameLayout xmlns:android=""

android:layout_height="match_parent" />

And the code to load images is :

if (imgList!=null && imgList.size()>0)

So, I can't figure out why this is happening, and also the cut of part is covered sometime by blue color and sometimes by green color.

Any help is appreciated.

Answer Source

Try this one this will helps you You have enabled debug indicators on your Picasso instance (see official website). Look for setIndicatorsEnabled(true) in your code and remove it.

Hope you got your ans. Cheers!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download