I'm with the same problem. I'm developing a widget for Android 3.1 and I would like to know the actual size and based on this information, change the xml layout of my widget. Also, I would like to control the minimum and maximum size of the widget.
On Tue, Aug 30, 2011 at 7:40 PM, Dianne Hackborn <hack...@android.com>wrote: > You should not. AppWidgetProvider also already lets you handle resizing as > much as is possible. Your widget does not run code in the host process, so > you must handle everything through the features available through views you > can put in RemoteViews. > > > On Tue, Aug 30, 2011 at 1:35 PM, Carlos Junior <carlosmacielj...@gmail.com > > wrote: > >> Hello, is it possible to create a custom Widget without extending >> AppWidgetProvider? >> I wish to handle resizing events in my widgets because I need to >> control max and minimum resize. >> >> Best regards, >> Carlos >> >> -- >> 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 >> > > > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. 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 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 > -- Silvio Gustavo de Oliveira Santos Engenheiro de Software -- 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