I need to remove view with rotation using on touch event. My view is not lightweight: it contain a web browser and other elements.
I implemented slide to delete without rotation, and it works not very fast, but it works. After adding the rotation... Very very slowly.
I looking for fast method to remove with rotation.
As I understand, I can to read bitmap from the screen, hide my view and paint this bitmap on canvas. I think, that this method should works fine.
My question is:
- What library can I use?
- What about screen rotation (I must to clear canvas, remove my bitmap, restore my view, and reset touch events)?
- Maybe I can use analog of internal drag and drop? (Hmmm, this is good idea, but how to make fullsize shadow and animate action "moving out of the screen"?)
How do you solve such problems?
Update for Mohammed Ali: I can to read bitmap of my view and draw it on canvas . Opaque shadow for drag and drop, shadow size...