Floating Toolbar with Appcompat

前端 未结 6 1209
半阙折子戏
半阙折子戏 2020-12-14 05:27

How to create a floating toolbar like the following image as proposed in the material design guidelines and in the Google Map application.

6条回答
  •  误落风尘
    2020-12-14 05:35

    I think Mark's suggestion for picking up the CardView "look" in the comment above deserves this derivative answer:

    Just put a Toolbar in a CardView:

    
    
        
    
    
    

提交回复
热议问题