Dianne Hackborn wrote:
> You should make your own, with reference to animation resources that
> describe the actual animations you want.
>
> On Mon, Mar 2, 2009 at 10:47 AM, skink <[email protected]> wrote:
> > hi Dianne,
> >
> > what style can i use? R.style.Animation_*? or some others?
> >
> > thanks
> > skink
> > >
> >
>
>
> --
> Dianne Hackborn
many thanks Dianne for your reply!
i already tried to make my own styles, but they seem not to work.
i found out why: WindowManager.LayoutParams docs say:
----------------------
public int windowAnimations
A style resource defining the animations to use for this window. This
must be a *system resource*; it can not be an application resource
because the window manager does not have access to applications.
----------------------
also i had the same problem when using PopupWindow and its
setAnimationStyle(int animationStyle) method.
seems to me that it uses the same WindowManager.LayoutParams since no
custom animations at all.
what is worse: from android.R.style.Animation_* only
android,R.style.Animation_Toast seems to work (both for Dialogs and
PopupWindows). please see my other posts:
http://groups.google.com/group/android-developers/browse_thread/thread/913fe4f09f7dd830/e60fc95701c07987#e60fc95701c07987
and
http://groups.google.com/group/android-developers/browse_thread/thread/11d0d68349ad2ca3/db0b8ad50db11d69#db0b8ad50db11d69.
i just don't know what i'm doing wrong...
thanks again,
skink
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---