ich habe fab und ich will auf position ende fixiert | rechts | unten. aber in meinem Fragment verstecken und zeigen mit Scroll Recycler. und nicht alle Fab in Fragment zeigen, weil ich Tab und Symbolleiste verwenden. bitte helfen?behoben floating action-taste in fragment
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.hadi.music.fragment.ListStoryFragment">
<android.support.v7.widget.RecyclerView
android:id="@+id/rec_view_story"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="false"
android:layout_alignParentRight="true"
android:layout_alignParentTop="false"
android:layout_gravity="bottom|end"
android:layout_marginRight="20dp"
android:layout_marginBottom="40dp"
android:clickable="true"
android:src="@drawable/icon_plus"
app:fabSize="normal"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
/>
Ist das Ihr gesamtes Layout-Code? –
ja es ist mein Layout –