what is this error for in my code in android studio? "error: Error parsing XML: not well-formed (invalid token)" -
i'm trying add spinner
in activity
m getting error confused.
<textview android:text="select field" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparentleft="true" android:id="@+id/field" /> <spinner android:id="@+id/spinner" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_alignparentright="true" android:layout_torightof="@+id/field" </spinner>
you forgot set >
tag
<spinner android:id="@+id/spinner" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_alignparentright="true" android:layout_torightof="@+id/field" > </spinner>
Comments
Post a Comment