<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent"> <!-- 文本框 -->
<EditText android:id="@+id/etx_addtext_drawtext"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:singleLine="true" android:text="Enter text here" /> <Button android:id="@+id/button_open" android:layout_width="100dp"
android:layout_height="wrap_content" android:text="@string/open"
android:layout_centerInParent="true" android:visibility="gone" /> <it.sephiroth.demo.slider.widget.MultiDirectionSlidingDrawer
xmlns:my="http://schemas.android.com/apk/res/it.sephiroth.demo.slider"
android:id="@+id/sliding_drawer_bottom" my:direction="bottomToTop"
android:layout_width="fill_parent" android:layout_height="wrap_content"
my:handle="@+id/handle_bottom" my:content="@+id/content">
<include android:id="@id/content" layout="@layout/pen_content" />
<ImageView android:id="@id/handle_bottom"
android:layout_width="wrap_content" android:layout_height="40px"
android:src="@drawable/sliding_drawer_handle_bottom" />
</it.sephiroth.demo.slider.widget.MultiDirectionSlidingDrawer>
</RelativeLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<it.sephiroth.demo.slider.widget.MultiDirectionSlidingDrawer
xmlns:my="http://schemas.android.com/apk/res/it.sephiroth.demo.slider"
android:id="@+id/sliding_drawer_left" my:direction="leftToRight"
android:layout_width="fill_parent" android:layout_height="wrap_content"
my:handle="@+id/handle_left"> <ImageView android:id="@id/handle_left"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/drawer_left" android:topOffset="10dip" />
</it.sephiroth.demo.slider.widget.MultiDirectionSlidingDrawer></RelativeLayout>
在第二个"<RelativeLayout"处报错:The up in the document following the root element must be well-formed.清指教!谢谢