Here is something working with the 5.0 sdk received after 10/17/14.
But I'm not sure what the expected behavior is if you allow the transition of the contents of the window and is called setEnterTransition / setExitTransition both mainActivity and secondActivity . If they are different (for example, one of them chooses Explode and the other chooses Slide), which one will be used?
public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().requestFeature(android.view.Window.FEATURE_CONTENT_TRANSITIONS); Transition ts = new Explode();
// ===
public class secondActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
source share