Eclipse complains android:scrollbars and android:fadingEdge do not allow Strings - includes code.

Posted by emanuel on Stack Overflow See other posts from Stack Overflow or by emanuel
Published on 2010-04-01T23:54:33Z Indexed on 2010/04/02 0:23 UTC
Read the original article Hit count: 651

Filed under:
|
|

Having a problem in Eclipse with regards to an XML file. Eclipse complains that android:scrollbars and android:fadingEdge do not allow Strings. I checked the Android developer site and they do in fact accept strings in the xml file. A related question posed had the problem where there was a missing :android after xmlns. As you can see from the code the line beginning with xmlns is correct I believe. Here is the complete file contents:

<?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"
/>

© Stack Overflow or respective owner

Related posts about android

Related posts about eclipse