title: FrameLayout image shrinks
body: <p>i'm working on an app, it loads the photo from the gallery( the photo is taken from device  camera), and do other app relevant features and save, the problem i'm facing is that the image which loads compress vertically and horizontally which makes the image shrink, which is not required i'm using the following code for xml file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:gravity="bottom"
      android:orientation="vertical" &gt;
  
      &lt;FrameLayout
          android:id="@+id/frame"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_below="@+id/previous_btn"
          android:layout_weight="0.88" &gt;
  
          &lt;ImageView
              android:id="@+id/imageView"
              android:layout_width="fill_parent"
              android:layout_height="match_parent"
              android:scaleType="matrix" /&gt;
      &lt;/FrameLayout&gt;
  
      &lt;Button
          android:id="@+id/previous_btn"
          android:layout_width="100dip"
          android:layout_height="wrap_content"
          android:text="Previous" /&gt;
  
      &lt;Button
          android:id="@+id/next_btn"
          android:layout_width="100dip"
          android:layout_height="wrap_content"
          android:layout_toRightOf="@+id/previous_btn"
          android:text="Next" /&gt;
  
      &lt;Button
          android:id="@+id/button"
          android:layout_width="100dp"
          android:layout_height="wrap_content"
          android:layout_gravity="center"
          android:layout_toRightOf="@+id/next_btn"
          android:text="Save Picture" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Help me please to solve this issue!!!
  Best regards</p>