Trapezium View for Android…!!!

Have you ever stuck when you need a view with a slope in your app? 😞
Never again. Now you can easily add trapezium-view into your layout and make complex UI effortlessly!😍
How to use trapezium-view
Add it in your root build.gradle at the end of repositories:
Add trapezium-view into your layout
Customizations

✅ app:shapeColor
This will change the background color of the trapezium-view
✅ app:edgeRadius
This will set the radius of the trapezium-view edges. Set the value in dp
✅ app:slopeLength
This will set the length of the trapezium-view slope. Set the value in dp
✅ app:slopeType
This will set orientation of trapezium-view. Their are total 8 orientation of trapezium-view.
(bottomRight, bottomLeft, topRight, topLeft, rightTop, rightBottom, leftTop, leftBottom)




Thank you and I hope this article helped you in some way. If you like the post please support the article by sharing it.🙏 Have a nice day!😀
GitHub Link: https://github.com/abdulrehmank7/trapezium-view