Hi everybody,

I created an XML document in my res/layout/row.  In Eclipse Juno, I get the 
following error

ERROR Error parsing XML: unbound prefix

on the line 1.  I am using SDK 4.2.

My code looks like the following

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
    android:layout_width="fill_parent"
    android:layout_height="wrap_conten"
    andorid:orientation="horizontal"
    android:padding="4dip"
    >
    <ImageView android:id="@+id/icon"
        andorid:layout_width="wrap_content"
        android:layout_height="fill_content"
        android:layout_alignParentTop="true"
        android:layout_alignParentBottom="true"
        android:layout_marginRight="4dip"
    />
    <LinearLayout
        andorid:layout_with="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        >
        <TextView android:id="@+id/title"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:textStyle="bold"
            android:singleLine="true"
            android:ellipsize="end"
        />
        <TextView android:id="@+id/address"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:singleLine="true"
            android:ellipsize="end"
        />
    </LinearLayout>
    </LinearLayout>    

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
    android:layout_width="fill_parent"
    android:layout_height="wrap_conten"
    andorid:orientation="horizontal"
    android:padding="4dip"
    >
    <ImageView android:id="@+id/icon"
        andorid:layout_width="wrap_content"
        android:layout_height="fill_content"
        android:layout_alignParentTop="true"
        android:layout_alignParentBottom="true"
        android:layout_marginRight="4dip"
    />
    <LinearLayout
        andorid:layout_with="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        >
        <TextView android:id="@+id/title"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:textStyle="bold"
            android:singleLine="true"
            android:ellipsize="end"
        />
        <TextView android:id="@+id/address"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:singleLine="true"
            android:ellipsize="end"
        />
    </LinearLayout>
    </LinearLayout>    

Any help will be appreciated. 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to