>
> Maybe it works likewise if you create
> a Drawable object like GradientDrawable dynamically?


Unfortunately there is no RemoteViews.setImageViewDrawable() :(((((((((((


On Mon, Jan 10, 2011 at 9:28 AM, mort <[email protected]> wrote:

> I think if you're feeling masochistic, you could create 9 images and
> do some kind of "manual 9-patch image" with e.g. table or linear
> layout views. Just like in bad old HTML times... ;)
> If your "dynamically created" images aren't too complex, you might
> also use something similar to the XML shape drawables. Opposed to 9-
> patch drawables, XML drawables always were scaled correctly if I set
> them with setImageViewResource. Maybe it works likewise if you create
> a Drawable object like GradientDrawable dynamically?
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
YuviDroid
Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget to
quickly access your favorite apps and contacts!)
http://android.yuvalsharon.net

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