(Source code introduction:
This is an Android source code with high imitation of win8 system magnetic paste click sinking and tilting effect. I hope it can bring you help.
Effect description: click the central area of the picture to sink and let go to the original position. Click the area next to the picture to tilt around the corresponding axis.)