「Unbound Prefix」エラーは、考慮されていないカスタム名前空間が xml にあるために発生します。
ファイルの先頭に別のプレフィックスを追加する必要があります。以下に書いたものと似ているはずですが、PREFIXは使用しているプレフィックスに置き換えられています。
xmlns:*PREFIX*="http://schemas.android.com/apk/res-auto"
したがって、最終的にファイルは次のようになります。
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fb="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.facebook.widget.LoginButton
android:id="@+id/connectWithFbButton"
style="@style/com_facebook_loginview_default_style"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_gravity="center_horizontal"
android:text="@string/connect_with_facebook"
fb:login_text="@string/connect_with_facebook"
fb:logout_text="Connecting with facebook" />
</LinearLayout>
この例では、プレフィックス「fb」を追加し、フィールド login_text および logout_text を使用するときにそれを参照しました :)