xml-Eclipse抱怨android:scrollbars和android:fadingEdge不允许使用字符串-包含代码

在Eclipse中关于XML文件有问题. Eclipse抱怨android:scrollbars和android:fadingEdge不允许使用字符串.我检查了Android开发人员网站,实际上他们确实接受xml文件中的字符串.提出的一个相关问题是xmlns之后缺少:android的问题.正如您从代码中看到的那样,我相信以xmlns开头的行是正确的.这是完整的文件内容:

<?xml version="1.0" encoding="UTF-8"?>
  <com.example.todolist.TodoListItemView 
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:padding="10dp"
  android:scrollbars="verticle"
  android:textColor="@color/notepad_text"
  android:fadingEdge="verticle"
/>
最佳答案
您的问题是您拼错了“垂直”!纠正该错误后,它应该正确识别它.

以上是来客网为你收集整理的xml-Eclipse抱怨android:scrollbars和android:fadingEdge不允许使用字符串-包含代码 全部内容,希望文章能够帮你解决xml-Eclipse抱怨android:scrollbars和android:fadingEdge不允许使用字符串-包含代码 所遇到的程序开发问题。

如果觉得来客网网站内容还不错,欢迎将来客网网站推荐给程序员好友。