I have a problem with setting a shadow to TextView as it seems it doesn't work on all devices. I am currently doing it like this:
myTextView.setShadowLayer(0.5f, 2.0f, 2.0f, Color.BLACK);
It works great on some devices but on some it doesn't appear at all. What could be a problem with this simple code? Thank you.