Appcompat v21 Toolbar elevation pre-lollipop

后端 未结 10 641
你的背包
你的背包 2020-12-23 13:33

First off, I know that this question has been asked before, but it hasn\'t been answered before. I hope someone can give me an answer.

In my application, I use the T

10条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-23 14:19

    As I've had issues with the CardView widget method, I've used the FrameLayout method as mentioned by @Sniper; it is working perfectly!

    I just wanted to share the code snippet you'll have to use. Just put this directly under the toolbar where your main content starts:

    
    

    And don't forget to close with:

    
    

提交回复
热议问题