Making it so the fab doesnt reappear when the notes is in edit mode
This commit is contained in:
@@ -286,7 +286,7 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
|
|||||||
currentPhotoViewer.offsetView(-dx, -dy);
|
currentPhotoViewer.offsetView(-dx, -dy);
|
||||||
|
|
||||||
if (fab!=null) {
|
if (fab!=null) {
|
||||||
if (dy > 0 ) {
|
if (dy >= 0 ) {
|
||||||
if (isScrollingUp) {
|
if (isScrollingUp) {
|
||||||
fab.setVisibility(View.INVISIBLE);
|
fab.setVisibility(View.INVISIBLE);
|
||||||
TranslateAnimation animate = new TranslateAnimation(
|
TranslateAnimation animate = new TranslateAnimation(
|
||||||
|
|||||||
@@ -385,7 +385,11 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||||||
if(mediaFragment.loaded)
|
if(mediaFragment.loaded)
|
||||||
mediaFragment.onRefresh();
|
mediaFragment.onRefresh();
|
||||||
}
|
}
|
||||||
V.setVisibilityAnimated(fab, View.VISIBLE);
|
// if(noteEdit.hasFocus()){
|
||||||
|
// V.setVisibilityAnimated(fab, View.GONE);
|
||||||
|
// }else{
|
||||||
|
// V.setVisibilityAnimated(fab, View.VISIBLE);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.exec(accountID);
|
.exec(accountID);
|
||||||
|
|||||||
Reference in New Issue
Block a user