/FileExtraction/Java_unseen/PowerExplorer_PowerFileExplorer/PowerFileExplorer/src/main/java/com/amaze/filemanager/ui/SnackBarBehavior.java
//package com.amaze.filemanager.ui;
//
//import android.content.Context;
//import android.support.design.widget.CoordinatorLayout;
//import android.support.design.widget.Snackbar;
//import android.util.AttributeSet;
//import android.view.View;
//
//import com.github.clans.fab.FloatingActionMenu;
//
///**
// * Created by arpitkh996 on 31-07-2016.
// */
//public class SnackBarBehavior extends CoordinatorLayout.Behavior<FloatingActionMenu> {
//    public SnackBarBehavior() {
//    }
//
//    public SnackBarBehavior(Context context, AttributeSet attrs) {
//        super(context, attrs);
//    }
//
//    @Override
//    public boolean layoutDependsOn(CoordinatorLayout parent, FloatingActionMenu child, View dependency) {
//        return dependency instanceof Snackbar.SnackbarLayout;
//    }
//
//    @Override
//    public boolean onDependentViewChanged(CoordinatorLayout parent, FloatingActionMenu child, View dependency) {
//        float translationY = Math.min(0, dependency.getTranslationY() - dependency.getHeight());
//        child.setTranslationY(translationY);
//        return true;
//    }
//}
