Closed PHELAT closed 7 years ago
I'm having a problem with translation, i'm revealing from a FAB but in the first reveal the translation animation doesn't work. but in next reveals, translation works as expected.
my reveal code :
Revealator.reveal(someFramelayout) .from(someFAB) .withCurvedTranslation() .withEndAction(new Runnable() { @Override public void run() { isRevealed = true; rootView.imageDetailRevealRoot.setClickable(true); } }) .start();
also the FAB doesn't gone on animation end, i'm doing this with a handler.
problem was because of visibility .
for those who have this problem too :
just don't use visibility=gone, use invisible instead.
I'm having a problem with translation, i'm revealing from a FAB but in the first reveal the translation animation doesn't work. but in next reveals, translation works as expected.
my reveal code :
also the FAB doesn't gone on animation end, i'm doing this with a handler.