Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="https://developer.android.com/reference/android/app/FragmentTransaction.html#setCustomAnimations%28int,%20int,%20int,%20int%29" rel="noreferrer"><code>setCustomAnimations(int, int, int, int)</code></a> allows you to specify your animation resources directly. If you use <a href="https://developer.android.com/reference/android/app/FragmentTransaction.html#setTransitionStyle%28int%29" rel="noreferrer"><code>setTransitionStyle(int)</code></a>, on the other hand, you'll have to specify them by using a <a href="https://developer.android.com/reference/android/R.styleable.html#FragmentAnimation" rel="noreferrer">FragmentAnimation style</a> and <a href="https://developer.android.com/reference/android/app/FragmentTransaction.html#setTransition%28int%29" rel="noreferrer"><code>setTransition(int)</code></a>.</p> <p>It is worth mentioning that <strong>the compatibility library ignores</strong> <a href="https://developer.android.com/reference/android/app/FragmentTransaction.html#setTransitionStyle%28int%29" rel="noreferrer"><code>setTransitionStyle(int)</code></a>, so if you are using it you have to use <a href="https://developer.android.com/reference/android/app/FragmentTransaction.html#setCustomAnimations%28int,%20int,%20int,%20int%29" rel="noreferrer"><code>setCustomAnimations(int, int, int, int)</code></a> for sure.</p> <p>For more info on this, check out this <a href="http://daniel-codes.blogspot.com/2012/06/fragment-transactions-reference.html" rel="noreferrer">excellent post about Fragment states and Fragment animations</a> </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload