No, SlidingDrawer is a private widget. It is not supported. On Sat, Feb 7, 2009 at 7:18 AM, Jean-Baptiste Queru <[email protected]> wrote: > > Can you please report this issue in http://b.android.com/ ? (a plain > copy-paste will do). > > Thanks, > JBQ > > On Sat, Feb 7, 2009 at 6:54 AM, Stefan <[email protected]> wrote: >> >> 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 >> > >> > > > > -- > Jean-Baptiste M. "JBQ" Queru > Android Engineer, Google. > > > >
-- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

