android-activityAnim
android-activityAnim copied to clipboard
五种实现activity动画切换的方式
Results
5
android-activityAnim issues
Sort by
recently updated
recently updated
newest added
A页面切换到B页面,A页面瞬间变黑,B页面正常滑动进入.如何防止A页面变黑?
234
123
我碰到了一个奇怪的问题 final ActivityOptionsCompat activityOptionsCompat=ActivityOptionsCompat.makeSceneTransitionAnimation(this,textView,"shareSixth"); textView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivity(intent,activityOptionsCompat.toBundle()); } }); 这样启动activity时候是没动画效果的。 但是如果变为 textView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivity(intent, ActivityOptionsCompat.makeSceneTransitionAnimation(FiveActivity.this,textView,"shareSixth").toBundle()); ```...
.NoSuchMethodError: android.app.ActivityOptions.makeSceneTransitionAnimation