I studied the drag and drop code in the Launcher and really liked it. So I built an example that includes what I thought were the essential elements of their design. For source code and a write-up; go here:
http://blahti.wordpress.com/2011/01/17/moving-views-part-2/ On Mar 15, 8:24 pm, argongold <argongol...@gmail.com> wrote: > This set of classes (drag & drop) in Launcher also use some Private > API's and you can not compile them under your android SDK. > > argongold > > On Mar 15, 11:04 am, 曾少彬 <forever_ho...@hotmail.com> wrote: > > > You can referer to <android source>/packages/apps/Launcher, there is a set > > of classes to support drag & drop. > > > > Date: Mon, 14 Mar 2011 19:27:42 -0700 > > > Subject: [android-developers] Re: drag and drop view in android? > > > From: lancaster.dambust...@gmail.com > > > To: android-developers@googlegroups.com > > > > This probably won't help most people, but Honeycomb includes a drag > > > and drop framework. > > > > On Mar 14, 5:48 am, TreKing <treking...@gmail.com> wrote: > > > > On Mon, Mar 14, 2011 at 5:59 AM, Hitendrasinh Gohil < > > > > > hitendra.virtuei...@gmail.com> wrote: > > > > > i want reordering of the list row by drag and drop. > > > > > means if i drag first row and drop at 5th position the view should > > > > > be updated. > > > > >http://tinyurl.com/6eqvtp9 > > > > > --------------------------------------------------------------------------- > > > > ---------------------- > > > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > > > > transit tracking app for Android-powered devices > > > > -- > > > 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 -- 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