Yes it can

While the Material Design guidelines don't specify how morphing items are reversed:


There are implemented examples of reversing animations.  For example, this demo shows a reversible menu button which could be used in a floating button or fixed navbar. 
Reversible interactions which comport with Material Design physics.  A morphing button might open a slide-up bottom sheet, a slide down paper element, or a fold-down item....the morphed button could reverse that effect using the same material physics and it would comport with the principles of Material Design.


Can a Floating Action Button morph be reverted?
First When I downloaded java from official website I got confused how to install it.
Then I searched it on software center and I found it. But when I install it, it starts but instantly stops and the line highlighting the installation status in progress tab doesn't move forward. Then I searched on the internet and tried installing it by terminal, but the terminal said that I first have to configure something that I dont know. It tells me to run this sudo dpkg-configure -a and when I run this command the terminal process stops in the middle and even after leaving it for about an hour it doesn't proceed. After that when I want to close the terminal, it says that the terminal is in hte middle of a process, and closing it would interrupt it.
So I am greatly confused because even other software, like gimp image editor, are not getting installed.
 Can anyone help me? Thanks in advance.
