We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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); } }
The text was updated successfully, but these errors were encountered:
other way to write the code and include fade in and out without button and should be circle transition fade out settings
Sorry, something went wrong.
No branches or pull requests
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);
}
}
The text was updated successfully, but these errors were encountered: