Bitmap Size is wrong
<p>Hy!</p>

<p>The size of the Bitmap in the imageview doesn't look like 10x10</p>

<p>My Code:</p>

<pre><code>iv = (ImageView) findViewById(R.id.imageViewPizza);
        iv.setMaxHeight(10);
        iv.setMaxWidth(10);
</code></pre>

<p>Screenshot:</p>

<p><img src="http://i.stack.imgur.com/phY5q.png" alt="enter image description here"></p>

<p>The Image is lager than 10x10</p>

<p>Layout:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" android:orientation="vertical"&gt;
    &lt;TextView android:text="Name" android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
    &lt;MultiAutoCompleteTextView android:id="@+id/multiAutoCompleteTextView1" android:layout_height="wrap_content" android:text="" android:layout_width="fill_parent"&gt;&lt;/MultiAutoCompleteTextView&gt;

    &lt;TextView android:text="Bewertung" android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
    &lt;RatingBar android:id="@+id/ratingBar1" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/RatingBar&gt;
    &lt;TextView android:text="Foto hinzufügen" android:id="@+id/textView3" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
    &lt;ImageView android:layout_height="wrap_content" android:src="@drawable/icon" android:layout_width="wrap_content" android:id="@+id/imageViewPizza" &gt;&lt;/ImageView&gt;
    &lt;RelativeLayout android:id="@+id/relativeLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
        &lt;Button android:text="hinzufügen" android:layout_height="wrap_content" android:id="@+id/bt_addform" android:layout_alignParentBottom="true" android:layout_width="fill_parent"&gt;&lt;/Button&gt;
    &lt;/RelativeLayout&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>Please help</p>
