[android-developers] Re: PopupWindow animation
On Aug 8, 4:46 pm, loctarar andrei.bu...@gmail.com wrote: Solved :). If anyone is interested the styles.xml should look like this: resources style name=Animation.Popup parent=android:Animation item name=android:windowEnterAnimation@anim/popup_in/ item item name=android:windowExitAnimation@anim/popup_out/ item /style /resources hi loctarar, thanks for sharing! i had the same problem some time ago when using your first solution and since the lack of documentation for that matter and lack of my time i gave up... now it works, but still, i have some minor issue: when i change my enter/exit animatiins the changes are not applied. somehow my original animations are shown. booting the emulator cures this did you have such behavior? pskink --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: PopupWindow animation
Hello! Yes, it seems I have the same problem. I'll test it on a G1 device tommorow at work and tell you if it works. On Aug 9, 10:46 am, skink psk...@gmail.com wrote: On Aug 8, 4:46 pm, loctarar andrei.bu...@gmail.com wrote: Solved :). If anyone is interested the styles.xml should look like this: resources style name=Animation.Popup parent=android:Animation item name=android:windowEnterAnimation@anim/popup_in/ item item name=android:windowExitAnimation@anim/popup_out/ item /style /resources hi loctarar, thanks for sharing! i had the same problem some time ago when using your first solution and since the lack of documentation for that matter and lack of my time i gave up... now it works, but still, i have some minor issue: when i change my enter/exit animatiins the changes are not applied. somehow my original animations are shown. booting the emulator cures this did you have such behavior? pskink --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: PopupWindow animation
There is a bug in 1.5 with the system's cache of animations, where it would not clear them when an application is updated. On Sun, Aug 9, 2009 at 12:46 AM, skink psk...@gmail.com wrote: On Aug 8, 4:46 pm, loctarar andrei.bu...@gmail.com wrote: Solved :). If anyone is interested the styles.xml should look like this: resources style name=Animation.Popup parent=android:Animation item name=android:windowEnterAnimation@anim/popup_in/ item item name=android:windowExitAnimation@anim/popup_out/ item /style /resources hi loctarar, thanks for sharing! i had the same problem some time ago when using your first solution and since the lack of documentation for that matter and lack of my time i gave up... now it works, but still, i have some minor issue: when i change my enter/exit animatiins the changes are not applied. somehow my original animations are shown. booting the emulator cures this did you have such behavior? pskink -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: PopupWindow animation
Dianne Hackborn wrote: There is a bug in 1.5 with the system's cache of animations, where it would not clear them when an application is updated. -- Dianne Hackborn Android framework engineer thanks Dianne for update! pskink --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: PopupWindow animation
Solved :). If anyone is interested the styles.xml should look like this: resources style name=Animation.Popup parent=android:Animation item name=android:windowEnterAnimation@anim/popup_in/ item item name=android:windowExitAnimation@anim/popup_out/ item /style /resources On Aug 8, 11:56 am, loctarar andrei.bu...@gmail.com wrote: Hello! I have some issues with making PopupWindows animate when showing. The setAnimationStyle takes parameter a resource ID to what exactly? I took a look through the android resources and built my own animation style using the values/styles.xml as an example. My styles.xml file: resources style name=Animation parent=android:Animation /style style name=Animation.Popup item name=android:windowEnterAnimation@anim/popup_in/ item item name=android:windowExitAnimation@anim/popup_out/ item /style /resources where popup_* looks like this: scale xmlns:android=http://schemas.android.com/apk/res/android; android:fromXScale=0.0 android:toXScale=1.0 android:fromYScale=0.0 android:toYScale=1.0 android:pivotX=50% android:pivotY=50% android:duration=1000 / Then I call popupWindowObject.setAnimationStyle (R.style.Animation_Popup). How am I wrong? A solution to my problem would be very helpful as it would really ease my application development process (otherwise I'll need to find a solution to simulate a PopupWindow with scale effect). Thanks a lot in advance. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---