title: unknown animator name : translate
body: <p>getting this error when animating Fragment Transaction.</p>
  
  <p>Fragment A xml :
      </p>
  
  <pre><code>&lt;FrameLayout
  android:id="@+id/relative"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:padding="15dp"
  android:background="#009688"&gt;
  
  &lt;RelativeLayout
      android:layout_weight="0.5"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:id="@+id/linear"&gt;
  
      &lt;TextView
          android:layout_marginTop="35dp"
          android:id="@+id/mission"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="MISSION"
          android:textColor="#ffffff"
          android:textSize="70dp"
          android:gravity="center_horizontal"/&gt;
  
      &lt;TextView
          android:layout_below="@+id/mission"
          android:id="@+id/notimpossible"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="NOT IMPOSSIBLE"
          android:textColor="#ffffff"
          android:textStyle="bold"
          android:textSize="35dp"
          android:gravity="center_horizontal"/&gt;
  
  &lt;/RelativeLayout&gt;
  
  &lt;RelativeLayout
      android:padding="10dp"
      android:layout_weight="0.5"
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_below="@+id/linear"&gt;
  
      &lt;TextView
          android:id="@+id/random_main"
          android:textSize="20dp"
          android:textColor="@color/white"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"/&gt;
  
  &lt;/RelativeLayout&gt;
  
  
  &lt;TextView
      android:id="@+id/ahead"
      android:clickable="true"
      android:layout_marginBottom="35dp"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:text="Go Ahead! "
      android:textSize="23dp"
      android:textColor="@drawable/text_focus_white"
      android:layout_marginRight="8dp"
      android:layout_gravity="right"/&gt;
  
  
  &lt;/LinearLayout&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>Fragment B xml :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;FrameLayout 
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical" android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="#cddc39"&gt;
  </code></pre>
  
  <p>Code for tranaction from fragment A to fragment B:</p>
  
  <pre><code>    fragB frag = new fragB();
      FragmentManager fm = getFragmentManager();
      FragmentTransaction ft = fm.beginTransaction();
      ft.addToBackStack("wTF");
      ft.setCustomAnimations(R.anim.slide_out_to_right, R.anim.slide_in_from_right);
      ft.replace(R.id.main,fragB);
      ft.commit();
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>And here are the animation xmls </p>
  
  <p>Slide_in_from_right :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"
  android:shareInterpolator="false"&gt;
    &lt;translate
      android:startOffset="500"
      android:fromXDelta="100%" android:toXDelta="0%"
      android:fromYDelta="0%" android:toYDelta="0%"
      android:duration="700" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>Here is slide_out_to_right:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"
   android:shareInterpolator="false"&gt;
   &lt;translate
      android:fromXDelta="0%" android:toXDelta="100%"
      android:fromYDelta="0%" android:toYDelta="0%"
      android:duration="700" /&gt;
  &lt;/set&gt;
  </code></pre>