Using Xamarin in Visual Studio 2015 I am trying to edit the Main.axml file. in the file I have the TextView item:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="25px"
android:minHeight="25px"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/relativeLayout1" >
<TextView
android:text="Search By Postal Code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/PostalCodeSearchLabel"
android:layout_margin="10dp" />
<EditText
android:inputType="number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/PostalCodeSearchLabel"
android:id="@+id/zipCodeEntry"
android:layout_marginLeft="10dp"
android:layout_marginBottom="10dp"
android:width="165dp" />
<Button
android:id="@+id/ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/zipCodeEntry"
android:layout_alignParentRight="true"
android:layout_marginLeft="10dp"
android:text="OK" />
</RelativeLayout>
But the lines "layout_below" shows as invalid and the item doesn't display properly. All the examples I've read show this as being a valid parameter but it doesn't work. Why?