Вместо фаб поставил изображение, и хочу чтобы в конце списка это изображение исчезало как фаб. Еще лучше чтобы это работало как в ScrollAwareFABBehavior
с анимацией R.anim.design_fab_out
и R.anim.design_fab_in
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:fitsSystemWindows="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ListView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/lv_news"
android:dividerHeight="3dp"
android:layout_gravity="center_horizontal"
android:layout_below="@+id/linearLayout" />
</LinearLayout>
<ImageView
android:id="@+id/fab"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_gravity="bottom|right"
android:layout_marginBottom="20dp"
android:layout_marginRight="20dp" />
</android.support.design.widget.CoordinatorLayout >