@Nullable
  @Override
  public View onCreateView(
      LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
    return inflater.inflate(R.layout.fragment_format_color, container, false);
  }
Color XML example. It has a toggle to enable / disable Color XML support and displays 1 image.

<p>The supported XML color format is: <color>#rrggbb</color>
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imageformat/color/ImageFormatColorFragment.java