I'm making an application for my senior project that uses google sign in to let the user create an account more quickly. It was pretty easy to set up, but now I'm having an issue where after a sign-in occurs, a transition animation takes place which I don't want. It looks kind of like a bar falling from the top of the screen. I have looked at how to disable animations/transitions when starting a new activity, and I tried this:
private void signIn()
{
Intent signInIntent = mGoogleSignInClient.getSignInIntent();
signInIntent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
startActivityForResult(signInIntent, RC_SIGN_IN);
overridePendingTransition(0, 0);
}
The unwanted transition animation still occurs, however. I'm kind of new to Android development, and I couldn't find any more help on SO or in the documentation for google-signin, so I'm at the end of my rope here. How can I disable this unwanted animation!?