android - 如何使用view group的bitmap做一个倒影效果,同时忽略scale的view
PHP中文网
PHP中文网 2017-04-17 17:36:01
0
2
492

要做如图所示效果

但是每次获取到的bitmap都有scale的view,怎么才能规避这个问题?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
迷茫

Question and answer
Originally we used the entire View to do reflection in order to avoid memory problems
Later we found that the memory consumption of doing separate reflection for each picture was within the acceptable range, so This is achieved by reflecting each image individually.

p.s. Lazy loading is a problem

刘奇

Split into two bitmaps? Cache before setting the effect, otherwise there is nothing you can do.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!