title: Display a viewpager on popup window
body: <p>having trouble while displaying an viewpager on popup window.
  Wants to display multiple images on a viewpager which is actually a popup window. But unable to remove the side spaces of the window.<a href="https://i.stack.imgur.com/emafA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/emafA.png" alt="enter image description here"></a></p>
  
  <p>Viewpager</p>
  
  <pre><code>&lt;android.support.v4.view.ViewPager
  android:id="@+id/pager"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  xmlns:android="http://schemas.android.com/apk/res/android" /&gt;
  </code></pre>
  
  <p>ImageView</p>
  
  <pre><code>&lt;com.utility.TouchImageView
  android:id="@+id/imgDisplay"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:scaleType="fitCenter"
  xmlns:android="http://schemas.android.com/apk/res/android" /&gt;
  </code></pre>