@@ -0,0 +1,1065 @@
+package github.yaa110.memento.widget;%0A%0Aimport android.content.Context;%0Aimport android.support.v7.widget.AppCompatImageView;%0Aimport android.util.AttributeSet;%0Aimport android.view.View;%0A%0Aimport github.yaa110.bilan.App;%0Aimport github.yaa110.bilan.R;%0Aimport github.yaa110.bilan.library.Animator;%0A%0Apublic class Fab extends AppCompatImageView %7B%0A%09private boolean isHidden = false;%0A%0A%09public Fab(Context context) %7B%0A%09%09super(context);%0A%09%7D%0A%0A%09public Fab(Context context, AttributeSet attrs) %7B%0A%09%09super(context, attrs);%0A%09%7D%0A%0A%09public Fab(Context context, AttributeSet attrs, int defStyleAttr) %7B%0A%09%09super(context, attrs, defStyleAttr);%0A%09%7D%0A%0A%09public void show() %7B%0A%09%09if (isHidden) %7B%0A%09%09%09isHidden = false;%0A%09%09%09Animator.create(getContext().getApplicationContext())%0A%09%09%09%09.on(this)%0A%09%09%09%09.setStartVisibility(View.VISIBLE)%0A%09%09%09%09.animate(R.anim.fab_scroll_in);%0A%09%09%7D%0A%09%7D%0A%0A%09public void hide() %7B%0A%09%09if (App.floating_btn && !isHidden) %7B%0A%09%09%09isHidden = true;%0A%09%09%09Animator.create(getContext().getApplicationContext())%0A%09%09%09%09.on(this)%0A%09%09%09%09.setEndVisibility(View.GONE)%0A%09%09%09%09.animate(R.anim.fab_scroll_out);%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create Fab class