On Fri, Jan 27, 2012 at 9:44 AM, Mark Murphy <mmur...@commonsware.com>wrote:

> Try calling setId() on LinearLayout before passing it to addView(), giving
> it a unique ID value, and see if that helps.
>

Actually, I had that idea. I forget the exact message, but it yelled at me
that I can't call that particular method (via the "setInt" method of the
RemoteViews interface). It then displays a default "error" layout for the
widget.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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