DrawerArrowDrawable
A drawable that can draw a "Drawer hamburger" menu or an arrow and animate between them.
The progress between the two states is controlled via setProgress.
Types
Link copied to clipboard
Properties
Link copied to clipboard
Direction to make the arrow point to the end.
Link copied to clipboard
Direction to make the arrow point towards the left.
Link copied to clipboard
Direction to make the arrow point towards the right.
Link copied to clipboard
Direction to make the arrow point towards the start.
Functions
Link copied to clipboard
Returns the length of the arrow head (from tip to edge, perpendicular to the shaft), in pixels.
Link copied to clipboard
Returns the arrow shaft length in pixels.
Link copied to clipboard
The length of the bars when they are parallel to each other.
Link copied to clipboard
Returns the thickness (stroke width) of the bars.
Link copied to clipboard
Returns the arrow direction.
Link copied to clipboard
Returns the max gap between the bars when they are parallel to each other.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the current progress of the arrow.
Link copied to clipboard
Returns whether the bars should rotate or not during the transition.
Link copied to clipboard
Sets the length of the arrow head (from tip to edge, perpendicular to the shaft).
Link copied to clipboard
Sets the arrow shaft length.
Link copied to clipboard
Sets the length of the bars when they are parallel to each other.
Link copied to clipboard
Sets the thickness (stroke size) for the bars.
Link copied to clipboard
Link copied to clipboard
Set the arrow direction.
Link copied to clipboard
Sets the max gap between the bars when they are parallel to each other.
Link copied to clipboard
Set the progress of the arrow.
Link copied to clipboard
Returns whether the bars should rotate or not during the transition.
Link copied to clipboard
If set, canvas is flipped when progress reached to end and going back to start.