zigzag view for Android

zigzag view for Android

a zigzag view for using for ticket or invoice



Step #1. Add the JitPack repository to root build.gradle file:

Step #2. Add the dependency



AttributeTypeDefault ValueDescription
zigzagHeightdimension0dpheight of zigzag jags
zigzagElevationdimension0dpside of shadow
zigzagBackgroundColorcolorColor.WHITEbackground color
zigzagPaddingContentdimension0dpcontent padding
zigzagPaddingdimension0dpview padding
zigzagPaddingLeftdimensionzigzagPaddingleft side view padding
zigzagPaddingRightdimensionzigzagPaddingright side view padding
zigzagPaddingBottomdimensionzigzagPaddingbottom side view padding
zigzagPaddingTopdimensionzigzagPaddingtop side view padding
zigzagSidesenumbottomchoosing zigzag sides
zigzagShadowAlphafloat [0,1.0]0.5amount of shadow transparency


Reza Kardoost for helping me out with ZigzagView Shadow/Elevation.

 1,612 total views,  1 views today

(Visited 565 times, 1 visits today)

You May Also Like

About the Author: Android Developer

This is Mohammad I am Android Application Developer. I am the founder of Android Tutorial Online blog. I am programming lover and professional blogger from India. I spend most of my time doing programming and helping other programmers. This Android tutorial online blog for learning and share Android code.
My Chatbot
Powered by Replace Me