XML : Tag is not closed

//in first line of AutocompleteTextView i want to add namespace..but it gives me error like tag name is not closed...or tell how to add namespace here..`

  enter code here            '     <LinearLayout      xmlns:android="http://schemas.android.com/apk/res/android"             xmlns:tools="http://schemas.android.com/tools"              android:layout_width="match_parent"             android:layout_height="match_parent"     android:paddingLeft="@dimen/activity_horizontal_margin"             android:paddingRight="@dimen/activity_horizontal_margin"             android:paddingTop="@dimen/activity_vertical_margin"             android:paddingBottom="@dimen/activity_vertical_margin"             tools:context="com.nxtstepzedu.nxtstepz.nxtstepz.S1Activity"             android:orientation="vertical">                <schemas.android.com/apk/res/android".InstantAutoComplete           android:layout_width="match_parent"           android:layout_height="wrap_content"           android:id="@+id/atcatogory"           android:textColor="#000000"           android:hint="Search for gym etc..."/>        <TextView          android:layout_width="match_parent"          android:layout_height="wrap_content"          android:text="IN"          android:textSize="25sp"          android:layout_marginTop="20sp"/>       <AutoCompleteTextView       android:layout_width="match_parent"       android:layout_height="wrap_content"       android:id="@+id/atlocation"       android:textColor="#000000"       android:layout_marginTop="10sp"       android:hint="Search for locations..." />    </LinearLayout>'    

No comments:

Post a Comment