Disable hiding of the floating button.

This commit is contained in:
B. Petersen
2016-12-08 13:55:36 +01:00
parent 0b9614f0bd
commit 0fc45bc57a
2 changed files with 6 additions and 2 deletions
@@ -89,9 +89,11 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
private AlertDialog permissionDialog;
// Floating hiding action
/*
private int prevPosition;
private int prevTop;
private boolean scrollUpdated;
*/
// /Floating hiding action
private boolean floatingHidden;
@@ -491,7 +493,8 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
return;
}
// Floating hiding action - I'm not sure if it is really useful.
// Floating hiding action - I'm not sure if it is really useful. If there is nothing to scroll the floting button cannot does not move away - and covers always a part of the last row. This is not better than without moving away.
/*
if (floatingButton.getVisibility() != View.GONE) {
final View topChild = recyclerView.getChildAt(0);
int firstViewTop = 0;
@@ -514,6 +517,7 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
prevTop = firstViewTop;
scrollUpdated = true;
}
*/
// /Floating hiding action
}
});