I need to remove a rotated view using the touch event. My view is not easy: it contains a web browser and other elements.
I implemented a slide to delete without rotation, and it does not work very fast, but it works. After adding the rotation ... Very slowly.
I am looking for a quick method to remove with rotation.
As I understand it, I can read bitmaps from the screen, hide my view and draw this bitmap on canvas. I think this method should work fine.
My question is:
- Which library can i use?
- What about screen rotation (I have to clear the canvas, delete the bitmap, restore my view and reset the touch event)?
- Maybe I can use an analog drag and drop? (Hmm, this is a good idea, but how do I make a full-sized shadow and animate the "exit the screen" action?)
How do you solve such problems?
Update for Mohammed Ali: I can read a bitmap of my view and draw it on canvas . Opaque drop shadow, drop shadow size ...
VKDev source share