Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid Application, xml file errors :(
    primarykey
    data
    text
    <p>So I'm trying to follow this tutorial... to learn android, and I'm having a hard time because I feel like the tutorial was written with errors, and its hard to try and learn when you are teaching yourself errors..</p> <p>Here is what the tutorial says:</p> <p>Start by creating a new todolist_item.xml resource in the res/layout folder. It will specify how each of the to-do list items is displayed. For this example, your layout need only consist of the new TodoListItemView, set to fi ll the entire available area.</p> <pre><code>&lt;?xml version=”1.0” encoding=”utf-8”?&gt; &lt;com.paad.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=”vertical” android:textColor=”@color/notepad_text” android:fadingEdge=”vertical” /&gt; </code></pre> <p>So i created a file in the res/layout folder, called todolist_item.xml and the file contains the following:</p> <pre><code>&lt;?xml version=”1.0” encoding=”utf-8”?&gt; &lt;com.paad.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="vertical" android:textColor="@color/notepad_text" android:fadingEdge="vertical" /&gt; </code></pre> <p>and i get the following error: </p> <p>"Multiple annotations found at this line: - error: Error parsing XML: XML declaration not well-formed - The value following "version" in the XML declaration must be a "</p> <p>I am also getting this on another xml file... anyone able to see what i've done wrong?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload