As the title says, every time I put a TextView before an EditText element in a LinearLayout, the EditText does not show. When I don't, it does.
I've narrowed the problem down to the TextView's layout_width attribute. If I give it "wrap_content", it works, but doesn't "block" down, and it appears on the same line as the EditText.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FFFFFFFF"
>
<TextView
android:text="Test"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
<EditText
android:id="@+id/marketValLow"
android:layout_width="fill_parent"
android:layout_height="35px"
android:singleLine="true"
android:layout_marginLeft="5px"
android:layout_marginRight="5px"
android:layout_marginTop="5px" />
</LinearLayout>
Any ideas? Thanks!