How to show shadow around the linearlayout in Android?

前端 未结 13 2575
名媛妹妹
名媛妹妹 2020-11-27 10:51

How can I show shadow for my linear layout. I want white colored rounded background with shadow around the linearlayout. I have done this so far.



        
13条回答
  •  情书的邮戳
    2020-11-27 11:16

    1. save this 9.png. (change name it to 9.png)

    enter image description here

    2.save it in your drawable.

    3.set it to your layout.

    4.set padding.

    For example :

    
    
    .
    .
    .
    
    

提交回复
热议问题