Search code examples
javaandroiddrag-and-dropshadowoutline

How to create Android ICS drag'n'drop shadow effect?


I would like to create icon shadow/outline effect in my app, as presented on Google's design guidelines page. The effect I would like to reach:

Example

Has anyone noticed the part of code which dynamically creates a mask, and then creates a outline like this above?


Solution

  • I think that I've found a solution. Previously the search engine didn't return any satisfying results (because I typed 'shadow', not 'outline'), and I made duplicate of this question.