Home > Mobile >  The activity in onResume in animation of how to set up the switching effect
The activity in onResume in animation of how to set up the switching effect

Time:04-26

Inside the style set android: windowIsTranslucent=true to prevent black screen, but after setting the activity switch does not perform the animation,
According to the method of online custom android: windowAnimationStyle attributes of the style, but this can only let the activity to perform a animation when onCreate, because I set the activity of the jump mode to singleInstance, and project need, exit interface is not finishactivity, so ask you how to make the activity in onResume transition animations also have???????

CodePudding user response:

  for help

CodePudding user response:

CodePudding user response:

<style name="BaseTheme" parent "=" @ android: style/Theme. DeviceDefault. Light. NoActionBar "& gt;



</style>

Use the above topic, do not use & lt; The item name="android: windowIsTranslucent & gt;" True Properties,
  • Related