title: Android photo in imageview, bad quality
body: <p>I allow user to take photo, and I get this photo to set it in a imageview.</p>
  
  <p>This is my code for my imageview :</p>
  
  <pre><code>        &lt;ImageView 
          android:id="@+id/photo1"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_weight="1"
          android:scaleType="centerCrop"
          android:adjustViewBounds="true"
          android:layout_marginBottom="2dp" /&gt;
  </code></pre>
  
  <p>And my code to put the photo in this imageview :</p>
  
  <pre><code>        imgPhoto1.setImageBitmap(btmap);
  </code></pre>
  
  <p>My problem is, the photo is showing is blurred..... </p>
  
  <p>How can I do to have a "correct" quality ?</p>
  
  <p>I tried to use this :</p>
  
  <pre><code>getWindow().setFormat(PixelFormat.RGBA_8888);
  </code></pre>
  
  <p>but it changes nothing.</p>
  
  <p>Thx,</p>
  
  <p>EDIT : Please, I'm searching, if possible,  a solution without to use a library, it's just for two imageview..</p>
  
  <p>EDIT 2 : Ok, it seems impossible to do without library, because my image take all of space available on screen.</p>