[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-28 Thread metal mikey
Of note is the fact that addView and removeAllViews are only available in android 2.1, release 1 and up! Proof on Android 2.1's Facebook page: http://www.facebook.com/note.php?note_id=422770470544 -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-12 Thread James W
Do you have the exact name of that widget? I cant find it in the market by searching for News and Weather *, and would love to take a look.. * or more accurately after 5 minutes of paging through unrelated news and weather apps I wasn't convinced I was ever going to find it.. On Jul 12, 1:55 

Re: [android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-12 Thread Core Form
Google's 'News and Weather' App came pre-installed on my Nexus One. So not sure if its available on the market. It is named as I've stated. The version I currently have is 1.2.02 - RC2. sent from my Google Nexus One On 12 Jul 2010 17:18, James W jpbwebs...@gmail.com wrote: Do you have the exact

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-12 Thread metal mikey
Got it working! Refer to this resource: http://www.satyakomatineni.com/akc/servlet/DisplayServlet?url=DisplayNotePrintURLreportId=2946 I've just found that the LayoutAnimation is applied whenever the layout is set visible ;) -- You received this message because you are subscribed to the Google

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-12 Thread metal mikey
oops, not quite. The LayoutAnimation IS only applied when the layout is added to the AppWidget, as James stated... ...so the trick is to: Follow these directions: http://www.satyakomatineni.com/akc/servlet/DisplayServlet?url=DisplayNotePrintURLreportId=2946 + do something like this:

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-12 Thread James W
Nice! That's a better solution than my duplicate XML files, and gives you more flexibility also. On Jul 12, 9:46 pm, metal mikey coref...@gmail.com wrote: oops, not quite. The LayoutAnimation IS only applied when the layout is added to the AppWidget, as James stated... ...so the trick is to:

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-12 Thread Matt
...so the trick is to: Follow these directions:http://www.satyakomatineni.com/akc/servlet/DisplayServlet?url=Display... + do something like this: RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.mycompleteappwidgetlayout);

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-11 Thread James W
I reckon I know how to do it. :o) You can get Tween animations in an AppWidget by using the LayoutAnimation tag in your widget's layout xml, it supports all the standard Tween animations including Alpha fades. The first problem is that the animation only runs when you first add the Widget to the

Re: [android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-11 Thread Core Form
Excellent info James! FYI: I've seen the fading manifest in AppWidgets prior to froyo. Specifically Googles own 'News and Weather' AppWidget. sent from my Google Nexus One On 12 Jul 2010 15:45, James W jpbwebs...@gmail.com wrote: I reckon I know how to do it. :o) You can get Tween animations

Re: [android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 12:12 AM, James W jpbwebs...@gmail.com wrote: Are you talking about an actual AppWidget that sits on the users home screen? I was not aware there was  a widget for the market. I think it is new for 2.2. After seeing this thread, I found it on my N1. It does what looks

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-09 Thread Matt
Are you talking about an actual AppWidget that sits on the users home screen? I was not aware there was a widget for the market. Yes, it is a part of the Froyo update. It's an actual AppWidgetProvider. I think it is new for 2.2. After seeing this thread, I found it on my N1. It does what

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-08 Thread James W
I think there may be some confusion here. Are you talking about an actual AppWidget that sits on the users home screen? I was not aware there was a widget for the market. I think you might be talking about the view at the top of a the Market application, which is not an AppWidget, but some sort