views:

53

answers:

0
<LinearLayout android:id="@+id/LinearLayout03"
android:background="@drawable/ninepatch"
android:layout_width="wrap_content"
android:layout_height="55dip"
android:layout_weight="1">

<LinearLayout android:id="@+id/LinearLayout02"
android:layout_width="wrap_content"
android:layout_height="wrap_content">

<EditText android:id="@+id/EditText01"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_weight="1" 
android:hint="[Enter Text]">
</EditText>

</LinearLayout>
</LinearLayout>

When I use a 9 patch it displays like this.

http://www.flickr.com/photos/47222679@N02/5054494741/

When I convert it to a non 9 patch or use no background, it looks like this.

[I can only post one url, so you'll have to hit the "Newer" button within the first link to see what I mean]

What settings do I enable to get the same effect while using a 9 patch?