I am having this same issue have you found a solution? My current
workaround is to make a new XML layout file for each background that I
want in the imageview. But I can't believe that there isn't a way to
do this in code. Thanks,

- Ryan


On Dec 9, 2:58 pm, pcm2a <reeeye...@gmail.com> wrote:
> I have a simple layout:
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>                 android:background="@drawable/background"
>         android:layout_height="fill_parent"
>         android:layout_width="wrap_content"
>         android:orientation="vertical">
>
> In my method onUpdate I can get theremoteview:
>
> RemoteViews remoteView = new RemoteViews(context.getPackageName(),
> R.layout.somelayout");
>
> I cannot find any information on how to change or hide thebackground
> image.

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