title: Android Widget reserve 3 cells instead of 2 cells in height
body: <p>i have a strange problem.
  I changed my Widget Layout to a height of 200dp to reduce the space to 2 Cells on the smartphone. But when i want to place it on the screen it always reserve 3 Cells and place the widget in the middle of the 3 Cells. 
  Width Android 2.3 you can change the size of the Widget out of the System. When i  do that i get the Widget to 2 Cells without any layout lost. </p>
  
  <p>Do you have any ideas?</p>
  
  <p>Stefan</p>
  
  <p>//EDIT I added the XML Code</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="match_parent" 
      android:layout_marginLeft="8dip" 
      android:layout_marginRight="8dip" 
      android:orientation="vertical"
      android:layout_height="200dp"&gt;
  
  
      &lt;LinearLayout 
      android:layout_width="match_parent" 
      android:id="@+id/linearLayout55" 
      android:layout_height="187dip" 
      android:orientation="vertical"
      android:paddingTop="4dip"
      android:background="@drawable/design"&gt;
  
      &lt;LinearLayout android:layout_width="match_parent" android:id="@+id/linearLayout1" android:layout_height="wrap_content" android:gravity="center_vertical" android:paddingLeft="4dip"&gt;
          &lt;ImageView android:layout_width="60dip" android:src="@drawable/icon" android:id="@+id/imageView1" android:layout_height="60dip"&gt;&lt;/ImageView&gt;
  
          &lt;LinearLayout android:layout_width="match_parent" android:id="@+id/linearLayout11" android:layout_height="wrap_content" android:gravity="center_vertical" android:orientation="vertical"&gt;
              &lt;TextView android:layout_width="wrap_content" android:id="@+id/AppTitel" android:textColor="#3b5091" android:paddingLeft="4dip" android:text="My App" android:textSize="20dip" android:textStyle="bold|italic" android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
              &lt;TextView android:layout_width="wrap_content" android:id="@+id/AppCopyRight" android:textColor="#FFFFFF" android:paddingLeft="4dip" android:text="dummy text" android:textSize="9dip" android:textStyle="italic" android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
          &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout android:layout_width="299dip" android:id="@+id/ll_con_1" android:gravity="center_vertical" android:paddingLeft="4dip" android:background="@drawable/item_states" android:layout_height="50dip" android:layout_marginLeft="2dip" android:clickable="true" android:visibility="gone" android:orientation="vertical" android:paddingTop="0dip"&gt;
          &lt;TextView android:layout_width="wrap_content" android:textColor="#FFFFFF" android:layout_height="wrap_content" android:id="@+id/Item1" android:text=""&gt;&lt;/TextView&gt;
          &lt;TextView android:layout_width="wrap_content" android:textColor="#CCCCCC" android:layout_height="wrap_content" android:id="@+id/Item1_msg" android:text=""&gt;&lt;/TextView&gt;
      &lt;/LinearLayout&gt;
      &lt;LinearLayout android:layout_width="299dip" android:id="@+id/ll_con_2" android:gravity="center_vertical" android:paddingLeft="4dip" android:background="@drawable/item_states" android:layout_height="50dip" android:layout_marginLeft="2dip" android:clickable="true" android:visibility="gone" android:orientation="vertical" android:paddingTop="0dip"&gt;
          &lt;TextView android:layout_width="wrap_content" android:textColor="#FFFFFF" android:layout_height="wrap_content" android:id="@+id/Item2" android:text=""&gt;&lt;/TextView&gt;
          &lt;TextView android:layout_width="wrap_content" android:textColor="#CCCCCC" android:layout_height="wrap_content" android:id="@+id/Item2_msg" android:text=""&gt;&lt;/TextView&gt;
      &lt;/LinearLayout&gt;
  
  
      &lt;/LinearLayout&gt;
  
  
      &lt;LinearLayout android:layout_width="match_parent" android:id="@+id/linearLayout56" android:gravity="center_horizontal" android:layout_height="45dip" android:layout_marginTop="-17dip"&gt;
          &lt;ImageButton android:layout_height="30dip" android:layout_width="60dip" android:src="@drawable/rolodex" android:id="@+id/BtnMSGs" android:background="@drawable/design_item" android:layout_marginRight="5dip"&gt;&lt;/ImageButton&gt;
          &lt;ImageButton android:layout_height="30dip" android:layout_width="60dip" android:src="@drawable/pencil" android:id="@+id/BtnNewMSG" android:background="@drawable/design_item"&gt;&lt;/ImageButton&gt;
      &lt;/LinearLayout&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>