简体   繁体   English

如何创建Android ICS拖放阴影效果?

[英]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 . 我想在我的应用中创建图标阴影/轮廓效果,如Google的设计指南页面所示 The effect I would like to reach: 我想达到的效果:

例

Has anyone noticed the part of code which dynamically creates a mask, and then creates a outline like this above? 是否有人注意到代码的一部分会动态创建遮罩,然后再创建上述轮廓?

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 . 以前,搜索引擎没有返回任何令人满意的结果(因为我键入了'shadow'而不是'outline'),并且我重复了这个问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM