Animation reveal does not match Material Design
RyanRamchandar opened this issue · comments
The snackbar reveal animation is more of a fade and slide in as opposed to a pure slide from the bottom like it is now.
Check the video here:
http://material-design.storage.googleapis.com/publish/v_2/material_ext_publish/0B0NGgBg38lWWZFcwa2wyTG1ybE0/components-snackbarstoasts-spec-061302_Mobile_Snackbar_xhdpi_002.webm
I would think a solution would be to add alpha to the animation. I am no expert in this area but I am sure if you mess around with the code of the library it can be achieved.
We are already using a slide and fade out see the animation set
@MrEngineer13 I just added .1.1.0' to a project to test it out. It is still not animating with the alpha on show and dismiss. I am assuming I am not calling the animation but I don't see the animation implementation. Any suggestion on getting this animation?
SnackBar.Builder snackBarB;
Button showSB;
private void snackBarTest() {
showSB = (Button) findViewById(R.id.snackBar);
showSB.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
snackBarB = new SnackBar.Builder(MainActivity.this);
snackBarB.withMessage("This library is awesome!");
snackBarB.show();
}
});
}