-
Problems in "main.xml" file in eclipse developing android
Hey all, I'm learning android from this book and the example code is not working... here's the code.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<SlidingDrawer ***
android:id="@+id/drawer" **
******* android:layout_width="320dip" *******
** **android:layout_height="440dip" ******
*** **android rientation="vertical" ********
* **android:handle="@+id/handle" *******
** **android:content="@+id/content">
<ImageView ***
android:id="@+id/handle" ************
************ *android:layout_width="48dip" ********
****** *android:layout_height="48dip" *************
** android:src="@drawable/icon"**/>
<AnalogClock
android:id="@+id/content" ****
android:background="#D0A0A0" *** *****************
**** *android:layout_width="fill_parent" **********
**** *android:layout_height="fill_parent" />
</SlidingDrawer>
</RelativeLayout>
I get several errors...
1. Element Type "SlidingDrawer" must be followed by either atribute specifications ">" , or , "/>"
2. error parsing XML: not well formed (invalid token)
3. This SlidingDrawer layout or its RelativeLayout parent is possibly useless
I have no Idea what's going on... help???
-
Hi
I not know android, but as a sugestion to help, try delete all the * characters, because they not fit in that xml format.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks