Home android stroke in the form of a shadow around view

stroke in the form of a shadow around view




Is it possible to make a shadow around View to make it easy to be uniform around the perimeter and a given width, as in the figure below?

 Enter here a description of the image

Answer 1

and use view.setelevation () and view.settranslationz () as in the Material Design https://developer.android.com/training/material/shadows-Clipping?hl=ru did not try?

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions