On Sun, Oct 23, 2011 at 6:04 PM, Ash McConnell <[email protected]> wrote: > They must not provide the same amount of space (even if you consider device > independent pixels) as all units use dp.
There is no such concept as "the same amount of space". You have no guarantee over the dp size of an app widget. Your dp values are converted into cells; different home screens on different devices will have different dp sizes for these cells. And, if you support the Honeycomb/ICS resizeable app widget, the user can change the size to whatever they want. Your app widget layouts need to take into account modest changes in the number of available dp for width and height, or more-than-modest changes if you're letting the user resize the widget. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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

