bitmapMesh demo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arts
libs
res
src/com/example/bitmapmesh
.classpath
.gitignore
.project
AndroidManifest.xml
README.md
ic_launcher-web.png
proguard-project.txt
project.properties

README.md

本repo只作演示,新项目地址CurtainSlidingMenu(未完成状态)

this repo was just a demo, and no longer being updated, however, I added a new project for this kind of effect CurtainSlidingMenu (incomplete)

bitmapMesh

未完成,由于开了硬件加速 drawBitmapMesh的参数colors在API18以下是不起作用的,所以API18以下的系统上是看不到窗帘的阴影的,正在解决这个问题

according to official api guides, the parameter 'colors' of canvas.drawBitmapMesh won't work when api level lower than 18, so shadow effect is not available when api level lower than 18

阴影问题已解决

shadow issue solved.

无法显示阴影时的效果:

this's what it looks like when shadow effect is not available

art1

显示出阴影时的效果(由于gif对颜色的压缩,阴影效果显示不是很好):

this's what it looks like when shadow effect works

art2

静态效果

art3

art4 art5