I face an error in my main.xml. It display the error: "error parsing xml unbound prefix" at
My code
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="@drawable/white"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<com.facebook.android.LoginButton
android:id="@+id/login"
android:src="@drawable/login_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="30dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"/>
Error here--> />
<Button android:id="@+id/infoButton"
android:text="@string/information"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/txt"
android:layout_alignRight="@+id/txt"
/>
<Button android:id="@+id/postButton"
android:text="@string/post"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/txt"
android:layout_alignLeft="@+id/txt"
/>
<Button android:id="@+id/friendButton"
android:text="@string/friend"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/postButton"
android:layout_alignLeft="@+id/postButton"
/>
<ListView
android:id="@+id/friendsview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textFilterEnabled="true"
android:layout_below="@+id/friendButton"
android:layout_centerHorizontal="true"
/>
</RelativeLayout>
and in my java files, it display error at the everything relating to R. For example: R.layout.main
Could you please help me? Thank you so much.