Thanks for the response Pete.
I tried TRANSIT_FRAGMENT_OPEN, TRANSIT_FRAGMENT_CLOSE and
TRANSIT_FRAGMENT_FADE again and they do seem to transition a bit
different than when a transition is not set. Very rapid and not very,
well, animated though so gonna try figure custom animations out. I've
read somewhere that the old animation types are no good and I'll need
to define an 'object animator' instead for this so will give that a
try to begin with.
Thanks again. Oh and I've put up a stack overflow question if anyone
does happen to know or comes across any leads for this:
http://stackoverflow.com/questions/9016822/support-library-fragmenttransaction-animations-not-working
Regards,
Adil
> On Thu, Jan 26, 2012 at 2:27 AM, Adil Hussain <
a...@thinkincode.co.uk>wrote:
>
>
>
> > Hi all,
>
> > First of, big thanks to those responsible for putting this library
> > together. Very very useful.
>
> > I can't seem to get FragmentTransaction animations to work. I've tried
> > using the setCustomAnimations(int enter, int exit) method as well as
> > the setTransition(int transit) method but to no avail. Anyone been
> > able to get animations to work, or also had problems getting
> > animations to work?
>
> > Regards,
> > Adil
>
> > ps. Some of the animations I tried:
>
> > setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE)
> > setCustomAnimations(android.R.anim.fade_in, android.R.anim.fade_out)
> > setCustomAnimations(android.R.anim.slide_in_left,
> > android.R.anim.slide_out_right)- Hide quoted text -
>
> - Show quoted text -