user2330784
user2330784

Reputation: 1

Error parsing XML: not well-formed (invalid token) while making app

I'm bit new to Eclipse. I'm making an app. But, when compiling, i got an error (like title says). Here's the XML :

<?xml version="1.0" encoding="utf-8"?>
<values
  xmlns:android="http://schemas.android.com/apk/res/android
  <ImageView android:gravity="center" android:id="@id/app_icon" android:scaleType="centerCrop" android:layout_alignParentLeft="true" android:layout_centerInParent="true"/>
  <TextView android:textAppearance="?android:textAppearanceLarge" android:textColor="?android:textColorPrimary" android:ellipsize="end" android:gravity="center" android:id="@id/app_name" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_toRightOf="@id/app_icon" android:layout_centerInParent="true"/>
  <nine-patch android:src="@drawable/activity_title_bar" android:dither="true"/>
</values>

Upvotes: 0

Views: 204

Answers (2)

Thihara
Thihara

Reputation: 6969

<values xmlns:android="http://schemas.android.com/apk/res/android

should be

<values xmlns:android="http://schemas.android.com/apk/res/android">

Upvotes: 2

Andrew Thompson
Andrew Thompson

Reputation: 168825

<values
  xmlns:android="http://schemas.android.com/apk/res/android

Should be:

<values
  xmlns:android="http://schemas.android.com/apk/res/android">

Upvotes: 1

Related Questions