Elevation not working on a LinearLayout

前端 未结 7 1274
小蘑菇
小蘑菇 2020-12-24 01:25

After searching for a solution, I didn\'t find any to solve my problem.

I have some elevation which produces a shadow on a big part of my app.
But in a particula

7条回答
  •  独厮守ぢ
    2020-12-24 01:43

    Just make CardView as parent of your LinearLayout and you can achieve elevation.

    
    
             
    
                //some content
          
     
    

提交回复
热议问题