How to add floating action button on top of scrollview

后端 未结 4 1753
难免孤独
难免孤独 2021-01-04 02:19

I have a floating action button that I would like to add on top of a scrollview so that the button stays, even if you scroll. I want it on the top of the scrollview and in t

4条回答
  •  梦谈多话
    2021-01-04 02:43

    Relative Layout as base. Within that a Scroll View, then the Floating Action Button (with alignParent Right and Bottom set to true).

    
    
    
        
    
            
    
                
    
            
    
        
    
        
    
    
    

    BR Matthias

提交回复
热议问题