@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_standalone);
  }
Simple standalone activity that holds a Fragment.
samples/animation2/src/main/java/com/facebook/samples/animation2/StandaloneActivity.java