How to make smooth, more spectacular transitions from one Activity
to another?
Answer 1, Authority 100%
Determine the animation of the transition. For example, so:
res / Anim / Slidein.xml
& lt; xml version = "1.0" encoding = "UTF-8"? & gt;
& lt; Translate XMLNS: Android = "http://schemas.android.com/apk/res/android"
Android: FROMYDELTA = "100% P" Android: Toydelta = "0% p"
Android: Duration = "@ Android: Integer / Config_longanimtime" / & gt;
res / anim / slideout.xml
& lt; xml version = "1.0" encoding = "UTF-8"? & gt;
& lt; Translate XMLNS: Android = "http://schemas.android.com/apk/res/android"
Android: FROMYDELTA = "0% P" Android: ToyDelta = "- 100% P"
Android: Duration = "@ Android: Integer / Config_longanimtime" / & gt;
sometimeActivity.java
incent Intens = New Intent (this, oatherActivity.class);
StartActivity (Intent);
OverridependingTransition (r.anim.slidein, R.anim.Slideout);