title: Android ImageView , image gets cut off at the top Left corner, how to avoid id?
body: <p>I have an imageView with </p>
  
  <pre><code>scaleType="centerCrop"
  </code></pre>
  
  <p>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 :</p>
  
  <p><a href="https://i.stack.imgur.com/btMK5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/btMK5.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/SCJ9B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SCJ9B.png" alt="enter image description here"></a></p>
  
  <p>Here is the xml code :</p>
  
  <pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  &gt;
  
  &lt;ImageView
      android:id="@+id/img_sliding"
      android:scaleType="centerCrop"
      android:layout_width="match_parent"
      android:layout_height="match_parent" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>And the code to load images is :</p>
  
  <pre><code> if (imgList!=null &amp;&amp; imgList.size()&gt;0)
          Picasso.with(getActivity())
                  .load(imgList.get(position))
                  .placeholder(drawable)
                  .into(imgView);
  </code></pre>
  
  <p>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.</p>
  
  <p>Any help is appreciated.
  Thanks</p>