It revealed!
Bundle options = ActivityOptionsCompat.makeScaleUpAnimation( findViewById(android.R.id.content), findViewById(android.R.id.content).getLeft(), findViewById(android.R.id.content).getTop(), findViewById(android.R.id.content).getWidth(), findViewById(android.R.id.content).getHeight()).toBundle(); startActivity(intent, options);
It works only with API 16 and higher, so check it and use the old old startActivity for older versions.
Steven schoen
source share