Revert "Revert "FloatingToolbar: Fix orientation change handling.""

This reverts commit 6608a80fb317ca1bd4d9644bf6ac3a4cb108fd4c.
...and fix the syntax errors.

Change-Id: If2ca31d426b2e3eeac8444f7cb24ab21f169d30d
1 file changed