Elevation not working for ImageView

后端 未结 8 741
后悔当初
后悔当初 2020-12-28 13:26

Elevation for ImageView is not working. I declared ImageView in XML like this:



        
8条回答
  •  余生分开走
    2020-12-28 13:53

    The elevation attribute will be simply ignored if your minSdk version is less than 21. Either change that or try the method explained over here https://stackoverflow.com/a/28980908/7184172

提交回复
热议问题