In Android Studio message "Paint.setShadowLayer.. graphics not accurate.." without this code In Android Studio message "Paint.setShadowLayer.. graphics not accurate.." without this code android android

In Android Studio message "Paint.setShadowLayer.. graphics not accurate.." without this code


don't worry, it is saying that, preview of code will not as same as output, sometimes Invalid cache/restart will work, or change API level in combo box at the top of graphical preview.


Its showing this because of custom graphics. Hopefully the will have these views in next android studio update


The reason for warning is because you are using some of the material design elements (like floating action button)this warning can be removed by using Cordinate layout with these element