On the exiting activity, call
getWindow().setExitTransition(null);
On the entering activity, call
getWindow().setEnterTransition(null);
It will prevent the fade out of the exiting activity and the fade in of the entering activity, which removes the apparent blinking effect.
More Related Contents:
- What is the difference between Android Material Design UI and Android UI without material design?
- This Activity already has an action bar supplied by the window decor
- Put constant text inside EditText which should be non-editable – Android
- Android Material Design Button Styles
- Outlined Edit Text from Material Design
- How to provide shadow to Button
- How to achieve ripple animation using support library?
- Android “elevation” not showing a shadow
- NavigationView menu items with counter on the right
- How to implement the Material-design Elevation for Pre-lollipop
- TextInputLayout not showing EditText hint before user focus on it
- Android FAB icon always black with MaterialComponents theme
- MaterialComponents theme alert dialog buttons
- What should be the color of the Ripple, colorPrimary or colorAccent? (Material Design)
- how to Customize the Contextual Action Bar using appCompat in material design
- setSupportActionBar toolbar cannot be applied to (android.widget.Toolbar) error
- Material Design, AppCompat, and Backwards Compatibility
- Error : IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents
- Android button background color
- How can I change the NavigationView’s item text size?
- bottomSheetDialogFragment full screen
- Disable icon colorStateList in NavigationView
- Is any difference between a MaterialButton and a simple Button?
- No shadow/elevation underneath second card if there are two card in the layout. Why?
- Rounded corners on material button
- Toolbar.inflateMenu seems to do nothing
- Are Activity/Fragment Transitions compatible with pre-Lollipop devices?
- How to create a card toolbar using appcompat v7
- How to use setOutlineProvider instead of setOutline in Lollipop
- CollapsingToolbarLayout setTitle() does not update unless collapsed