Use something like this:
<LinearLayout
...
android:background="#fff"
android:orientation="vertical">
<TextView
...
android:layout_marginLeft="4dp"
android:background="#ffff00"/>
<TextView
...
android:layout_marginLeft="4dp"
android:background="#ffff00"/>
</LinearLayout>