]> git.ktnx.net Git - mobile-ledger.git/commit
rework main activity fab show/hide to slide up/down
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 4 Feb 2021 20:26:19 +0000 (22:26 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 4 Feb 2021 20:26:19 +0000 (22:26 +0200)
commit7d007e4633d4b2192230da39bfdb486707d08832
treed103a53a42ac8a632819f4264d1cc7c8af4d002d
parent4767775d68a667bc570a36a72ac1a91b79c96ccf
rework main activity fab show/hide to slide up/down

this is inspired by the HideBottomViewOnScrollBehaviour, which cannot
be used directly, since it doesn't work for showing the fab when the
recycler view is not tall enough to cause scrolling

to reproduce the problem, make the fab hide in the transaction list,
then switch to the account tree, which needs to be collapsed, and try
to show the fab
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java