This is not simple. Even for a single widget instance in a specific widget host, its dimensions can (and typically do) change slightly when the screen switches between landscape and portrait.
On Sun, Jan 9, 2011 at 1:26 PM, Kostya Vasilyev <kmans...@gmail.com> wrote: > That's not it, this is backwards - the widget telling the home screen its > minimal size. > > The size here is specified in units that are independent of launcher > version or its actual implementation (replacement). > > -- Kostya > > 10.01.2011 0:21, String пишет: > > On Sunday, January 9, 2011 12:30:07 PM UTC, Kostya Vasilyev wrote: > > It's really too bad there is no way to query widget cell size or use it >> > > > http://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#minHeight > > String > -- > 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 > > > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > -- > 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<android-developers%2bunsubscr...@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