I have to create ViewPager
with Fragments
, and the main problem is that, each Fragment's background needs to have a cut in on edge in background. The cut in should expand while dragging. Do you have any ideas how to do it?
It should look like that:
Crop your picture to fit a shape Select a picture. Select the Picture Tools > Format tab, and then select Crop > Crop to Shape. From the shapes gallery, select the shape you want to crop to.
U can refer the Flowing Drawer in the git
Link :https://github.com/mxn21/FlowingDrawer
In this sample they are using a "LeftDrawerLayout" a custom class to handle this effect and its property is set by FlowingView.
Use this to create a custom class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With