ShapeOfView
Give a custom shape to any android view, Material Design 2 ready
ShapeOfView is an Android library that lets developers render arbitrary shapes — not just rectangles — for any view. Rather than sticking to Android’s default rectangular layout for views, ShapeOfView allows you to “clip” or mask a view into a variety of shapes (circle, triangle, star, polygon, custom path, etc.), and optionally include shadows (when using elevation) — making it possible to build UI components that diverge from the standard boxy look. It supports both predefined shapes (round rects, circles, arcs, bubbles, triangles, stars, polygons, diagonals, cut corners) and fully custom shapes via clipping paths or drawables. ...