[android-developers] Re: How to drag and drop items of ListView?

2010-01-28 Thread Rahul Vij
Well you can look at the Android source code for the implementation of Music application uses a list where drag and drop is implemented. I think its called TouchInterceptor. On Jan 28, 6:56 am, Christine wrote: > On Jan 28, 12:28 pm, pink 444 wrote: > > >     I have to drag and drop items of Lis

[android-developers] Re: How to change widget layout background or hide it dynamically?

2010-01-08 Thread Rahul Vij
Even I have the same problem. I tried to be smart and added an ImageView to fill my parent layout and tried to set the source of the Imageview using setImageViewResource (int viewId, int srcId)... but did not the desired results. as my background drawable was a NinePatch PNG and setting the source

[android-developers] is AppWidgetProvider informed if adding a widget fails due to not enough space on homescreen.

2009-12-30 Thread Rahul Vij
My app has a 1*4 icon size widget. When a user tries to add a widget I provide with a configuration screen. and some data is collected - it is verified by the server - it is added to the local DB with appWidgetID as the key - all is good. when user hits save, if there is not enough space, he is gi