I am creating an AppWidget that allows users to skin the widget and download 
from a list of widgets online. I would like to allow skinners to offset the 
position of the icons vertically.

I initally tried calling offsetTopAndBottom on the LinearLayout that holds 
the icons, this is not allowed as its not supported with RemoteViews.

I then had an idea of using 2 Views inside a LinearLayout (on top and below 
the icon Layout) to "squash" the icons towards the bottom (if the height of 
the top layout was set to > 0).

When I tried to set the height of these views: -

 views.setInt(R.id.iconMarginTop, "setMinimumHeight", offset);

it also complained that it wasn't supported with RemoteViews

Any ideas what I could do to acheive this offset?

Thanks for your help!
All the best,
Ash

-- 
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

Reply via email to