Floating Action Button not showing fully inside a fragment

前端 未结 9 555
再見小時候
再見小時候 2020-12-04 09:11

I am using FAB button along with RecyclerView in a Fragment. This Fragment is an instance of a TabViewPager. I am having a issue with the FAB button. I have placed the Recyc

9条回答
  •  误落风尘
    2020-12-04 09:43

    I am facing the same issues with view pager 1st Fragment FAB buttons is showing below the screen and on scroll its show. But after some findings I found that I have written

    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    

    in ViewPager in CoordinatorLayout. So after removing this scroll behaviour FAB position issues is resolved.

    Please check my Implementation working correctly :

    
    
    
    
        
    
    
            
    
                
    
                    
    
                    
                
            
    
            
    
        
    
        
    
    
    

提交回复
热议问题