It says that my EditTexts are invalid. I don't know what is wrong with it but more specific it says that android:id is invalid.
<RelativeLayout xmlns:android="http://ift.tt/nIICcg"
xmlns:tools="http://ift.tt/LrGmb4"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".SettingsActivity="20sp"
android:text="Testapp" />
<EditText
android:id="@+id/host"
android:layout_width="fill_parent"
android:gravity="center_horizontal"
android:layout_height="wrap_content"
android:layout_below="@+id/text_view_header"
android:inputType="textNoSuggestions"
android:hint="@string/host" />
<EditText
android:id="@+id/host2"
android:layout_width="fill_parent"
android:gravity="center_horizontal"
android:layout_height="wrap_content"
android:layout_below="@+id/spyhost"
android:inputType="textNoSuggestions"
android:hint="@string/host2" />
<Button
android:id="@+id/save"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_below="@+id/vidhost"
android:text="Save Settings"
android:onClick="onClickSave" />
</RelativeLayout>
No comments:
Post a Comment