Better handling of floating recipient bar.
When chatbox is swiped do nothing.
Fix:#490
@@ -128,9 +128,11 @@ public class RemoveViewsOnScroll extends CoordinatorLayout.Behavior<View> {
public void showView(final View view) {
mIsShowing = true;
float translationY = toolbarHeight;
- if ((view.getId() == R.id.appBarLayout || view instanceof FloatingActionButton)) {
+ if (view.getId() == R.id.appBarLayout) {
ZulipApp.get().getZulipActivity().onShowActionBar();
translationY = 0;
+ } else if (view instanceof FloatingActionButton) {
+ translationY = 0;
}
ViewPropertyAnimator animator = view.animate()
.translationY(translationY)
