i have error parsing xml: unbound prefix
in xml file:
<?xml version="1.0" encoding="utf-8"?> <linearlayout> <textview xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/siplabel" android:layout_width="fill_parent" android:layout_height="fill_parent"/> <imageview android:src="@drawable/connected" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="0.35" android:gravity="center"/> </linearlayout>
the error in <imageview>
. problem?
thank much.
you must put namespace declaration xmlns:android="http://schemas.android.com/apk/res/android"
in root element of layout xml:
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" [...]
Comments
Post a Comment