开发者

Add two image into 2 layers in android

开发者 https://www.devze.com 2023-04-03 12:45 出处:网络
I开发者_Python百科 want to do an app like photoshop, I want to add 2 image into 2 layers, and after that, I can eraser the top layer to make it transparent and see the bottom layers.

I开发者_Python百科 want to do an app like photoshop, I want to add 2 image into 2 layers, and after that, I can eraser the top layer to make it transparent and see the bottom layers.

Please help me on this issue.

Thanks


Please use LayerDrawable

http://developer.android.com/guide/topics/resources/drawable-resource.html#LayerList

To hide partial part use Clip Layer

http://developer.android.com/guide/topics/resources/drawable-resource.html#Clip

0

精彩评论

暂无评论...
验证码 换一张
取 消