@Nullable
  @Override
  public View onCreateView(
      LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
    return inflater.inflate(R.layout.fragment_simple_container, container, false);
  }
Simple standalone activity that creates a new {@link AnimatedDrawable2} and a custom backend that
cycles through colors. Tap the view to start / stop the animation.

<p>When the animation is inactive for more than 2 seconds (no new frames drawn), a toast message
will be displayed.
samples/animation2/src/main/java/com/facebook/samples/animation2/color/SimpleColorFragment.java