0

私はEclipseに少し慣れていません。アプリを作っています。しかし、コンパイル時にエラーが発生しました(タイトルのように)。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>
4

2 に答える 2

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

する必要があります

<values xmlns:android="http://schemas.android.com/apk/res/android">
于 2013-04-29T05:00:15.010 に答える
1
<values
  xmlns:android="http://schemas.android.com/apk/res/android

次のようにする必要があります。

<values
  xmlns:android="http://schemas.android.com/apk/res/android">
于 2013-04-29T05:01:34.713 に答える