Ein - /ausblenden bottomNavigationView auf Blättern

Habe ich zu verbergen unteren Rand der Navigationsansicht auf oben scrollen, und zeigen Sie auf unten scrollen .wie implementieren Sie diese?
mein layout ist wie diese

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_above="@+id/navigation"
        android:layout_alignParentTop="true"
        android:layout_marginBottom="5dp">

        <FrameLayout
            android:id="@+id/container1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
          />


    </LinearLayout>

    <android.support.design.widget.BottomNavigationView
        android:id="@+id/navigation"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:background="?android:attr/windowBackground"
        app:layout_scrollFlags="scroll|enterAlways|snap"
        app:menu="@menu/dashboard_slider_menu" />

</RelativeLayout>

Habe ich angehängten screenshot sehen. Bitte prüfen Sie daher.

Ein - /ausblenden bottomNavigationView auf Blättern

InformationsquelleAutor der Frage Karthik Thunga | 2017-06-27

Schreibe einen Kommentar