title: Ripple effect not working when call in item recycler view with evetn replace fragment
body: <p>I have recycler view in a fragment. when click item in recycler view I call method replace fragment.
  I custom a ripple.xml to background item recyclerview but it not show animation when replace.
  Here is my code:
  custom_bg.xml for api &lt; 20
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:state_pressed="true"&gt;
          &lt;shape&gt;
              &lt;solid android:color="@android:color/holo_blue_light"&gt;&lt;/solid&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item &gt;
          &lt;shape&gt;
              &lt;solid android:color="@android:color/white"&gt;&lt;/solid&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/selector&gt;</code></pre>
  </div>
  </div>
  
  custom_bg.xml ripple effect </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ripple xmlns:android="http://schemas.android.com/apk/res/android"
      android:color="?android:attr/colorControlHighlight"&gt;
      &lt;item
          android:id="@android:id/mask"
          android:drawable="@android:color/white"&gt;
      &lt;/item&gt;
  &lt;/ripple&gt;</code></pre>
  </div>
  </div>
  
  item.xml</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/mRoot"
      android:layout_width="match_parent"
      android:layout_height="@dimen/game_ll_item_list"
      android:background="@drawable/custom_bg"&gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_centerVertical="true"
          android:layout_toLeftOf="@+id/mTvScore"
          android:gravity="center"
          android:orientation="vertical"&gt;
  
          &lt;TextView
              android:id="@+id/mTvNameTeamA"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:ellipsize="marquee"
              android:focusable="true"
              android:focusableInTouchMode="true"
              android:marqueeRepeatLimit="marquee_forever"
              android:singleLine="true"
              android:textSize="@dimen/game_tv_item_team_size"
              tools:text="朝日南" /&gt;
  
          &lt;TextView
              android:id="@+id/mTvNameTeamASmall"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:singleLine="true"
              android:textSize="@dimen/text_size_20pt"
              tools:text="（東東京）" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;TextView
          android:id="@+id/mTvScore"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerInParent="true"
          android:layout_marginLeft="@dimen/game_tv_item_score_margin_left_right"
          android:layout_marginRight="@dimen/game_tv_item_score_margin_left_right"
          android:gravity="center"
          android:textColor="@android:color/black"
          android:textSize="@dimen/game_tv_item_score_size"
          android:textStyle="bold"
          tools:text="2-8" /&gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerVertical="true"
          android:layout_toLeftOf="@+id/mImgArrow"
          android:layout_toRightOf="@+id/mTvScore"
          android:gravity="center"
          android:orientation="vertical"&gt;
  
          &lt;TextView
              android:id="@+id/mTvNameTeamB"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:ellipsize="marquee"
              android:focusable="true"
              android:focusableInTouchMode="true"
              android:marqueeRepeatLimit="marquee_forever"
              android:singleLine="true"
              android:textSize="@dimen/game_tv_item_team_size"
              tools:text="ABC工科" /&gt;
  
          &lt;TextView
              android:id="@+id/mTvNameTeamBSmall"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:singleLine="true"
              android:textSize="@dimen/text_size_20pt"
              tools:text="（東東京）" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;ImageView
          android:id="@+id/mImgArrow"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentEnd="true"
          android:layout_alignParentRight="true"
          android:layout_centerVertical="true"
          android:contentDescription="@null"
          android:padding="@dimen/game_img_list_padding"
          android:src="@drawable/ic_arrow_right_pink"
          android:visibility="invisible" /&gt;
  
      &lt;View
          android:id="@+id/mViewLine"
          style="@style/CommonLine"
          android:layout_alignParentBottom="true" /&gt;
  &lt;/RelativeLayout&gt;</code></pre>
  </div>
  </div>
  
  and in myadapter.class i call event</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> private class ContentViewHolder extends RecyclerView.ViewHolder {
         
          private final RelativeLayout mRoot;
  
          public ContentViewHolder(View itemView) {
              super(itemView);
              mRoot = (RelativeLayout) itemView.findViewById(R.id.mRoot);
              mRoot.setOnClickListener(new View.OnClickListener() {
                  @Override
                  public void onClick(View v) {
                      mListener.onItemClick(getLayoutPosition());
                  }
              });
          }
      }</code></pre>
  </div>
  </div>
  </p>
  
  <p>and in myfragment.class I call </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> mAdapter = new GameListAdapter(mContext, new GameListAdapter.OnGameAdapterListener() {
              @Override
              public void onItemClick(int position) {
                  if (position &lt; mObjects.size()) {
                      Object object = mObjects.get(position);
                      if (object instanceof Schedule) {
                          if (getParentFragment() instanceof BaseContainerFragment) {
                              if (!isItemClicked) {
                                  isItemClicked = true;
                                  ((BaseContainerFragment) getParentFragment()).replaceFragment(GameDetailFragment_.builder().mSchedule((Schedule) object).build(), true);
                              }
                          }
                      }
                  }
              }
          });</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>public void replaceFragment(Fragment fragment, boolean addToBackStack) {
          FragmentTransaction transaction = getChildFragmentManager().beginTransaction();
  transaction.setCustomAnimations(R.anim.slide_in_right, 0);
          if (addToBackStack) {
              transaction.addToBackStack(null);
          }
          transaction.replace(R.id.mFrameContainer, fragment);
          transaction.commitAllowingStateLoss();
      }</code></pre>
  </div>
  </div>
  
  I tried post delay it show animation but it very lag.
  How I can fix it?
  Thank you very much!</p>