I have a vertical linear layout and I want to add a background the text view. I am using 9 patch which I’ve done for buttons no problem. My 9 patch graphic is correct but this is what get when its displayed in the layout. The numbers are supposed to be evenly spaced. If I don’t put the 9 patch there the layout displays fine (one field gets pushed out of view). What is going on here? I don’t want to hard code the height of the textview, hence why I am using a 9Patch.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rl_DisplayGraph"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<LinearLayout
android:id="@+id/rl_DisplayFeatures"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="1"
android:textColor="@color/orange1"
android:textSize="20dip" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="2"
android:textColor="@color/orange1"
android:textSize="20dip" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="6"
android:textColor="@color/orange1"
android:textSize="20dip" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="3"
android:textColor="@color/orange1"
android:textSize="20dip"
/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:background="@drawable/back_graphtab"
android:text="4"
android:textColor="@color/orange1"
android:textSize="20dip" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="5"
android:textColor="@color/orange1"
android:textSize="20dip" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="7"
android:textColor="@color/orange1"
android:textSize="20dip"
android:longClickable="true"/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="8"
android:textColor="@color/orange1"
android:textSize="20dip" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="9"
android:textColor="@color/orange1"
android:textSize="20dip" />
</LinearLayout>
<!--More layouts here but cut short for brevity ->
</RelativeLayout>

Your initial 9-patch size is larger than the minimum size that you want your buttons to be.
Try something like the attached; reduce it to the smallest possible size without eliminating information that you need.