It appears that  android.internal.widget.SlidingDrawer widget had
changed between RC30 and RC33.

On RC33 it fails to inflate the layout XML complaining  that: "The
handle attribute is required and must refer to a valid child"

This is the XML I am trying to inflate:

<com.android.internal.widget.SlidingDrawer
                android:id="@+id/drawer" android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:topOffset="5px"
        android:bottomOffset="7px"
                android:handle="@+id/playlistHeader"
                android:content="@+id/playList">

                <ImageView android:id="@id/playlistHeader"
                        android:focusable="true"
                        android:clickable="true"
                        android:scaleType="center"
                        android:src="@drawable/ic_mp_current_playlist_btn"
                        android:layout_height="56dip"
                        android:layout_width="fill_parent" />

                <ListView
                        android:id="@+id/playList"
                        android:layout_width="fill_parent"
                        android:layout_height="fill_parent"
                        android:background="@color/grid_dark_background"/>

</com.android.internal.widget.SlidingDrawer>

The XML above has both the "content" and the "handle" attribute and
worked fine in RC30?
Does anyone know what has changed and how to fix it?

Stefan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to