uiGradients icon indicating copy to clipboard operation
uiGradients copied to clipboard

Android change of layout or activity with fade-in and fade-out issues hence without button, HELP!

Open NahashonThiongo opened this issue 1 year ago • 1 comments

public class MainActivity extends AppCompatActivity { private static int WELCOME_TIMEOUT = 4000; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);; setContentView(R.layout.activity_main); new Handler().postDelayed(new Runnable () { @Override public void run() { Intent welcome = new Intent (MainActivity.this, SecondActivity.class); startActivity(welcome); overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); finish(); } }, WELCOME_TIMEOUT); } }

NahashonThiongo avatar Jul 06 '22 13:07 NahashonThiongo

other way to write the code and include fade in and out without button and should be circle transition fade out settings

NahashonThiongo avatar Jul 06 '22 13:07 NahashonThiongo