Is it possible to animate a DialogFragment when it appears? I want a
flip animation (from zero width and then "flip" into view, but nothing
happens when I try to animate it.

I asked the question here also (no answers):
http://stackoverflow.com/questions/6129567/is-it-possible-to-animate-a-dialogfragment

My relevant code:

FragmentTransaction ft =
getFragmentManager().beginTransaction();
InfoDialogFragment newFragment = InfoDialogFragment.newInstance();
ft.setCustomAnimations(R.anim.grow_in, R.anim.fadeout);
ft.add(newFragment, "dialog");
ft.commit();
...
public class InfoDialogFragment extends DialogFragment {

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