Hi,
Is there any other way I can implemented a themed appwidget background. like
I am using a LinearLayout with background. can I change background drawable
at runtime..?

On Sun, Dec 20, 2009 at 10:59 AM, Mark Murphy <mmur...@commonsware.com>wrote:

> Abdul Mateen wrote:
> > Hi,
> > How can the resource drawable xml can be changed at runtime for example.
> >
> > <resources>
> >     <drawable name="solid_red">#f00</drawable>
> >
> >     <drawable name="solid_blue">#0000ff</drawable>
> >
> >     <drawable name="solid_green">#f0f0</drawable>
> >
> > </resources>
> >
> > can be changed in runtime to
> >
> > <resources>
> >     <drawable name="solid_red">#ff00</drawable>
> >
> >     <drawable name="solid_blue">#0000fff</drawable>
> >
> >     <drawable name="solid_green">#f0ff0</drawable>
> >
> > </resources>
>
> You cannot modify resources at runtime.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android Training in US: 11-15 January 2010: http://onlc.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

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

Reply via email to