Skip to content

Instantly share code, notes, and snippets.

@Fshamri
Fshamri / TriangleShapeView.java
Created December 19, 2015 21:15
Triangle Shape View with drawable
public class TriangleShapeView extends View {
Paint paint;
Path trianglePath;
Drawable drawable;
int imgPadding;
int backgroundColor;
public TriangleShapeView(Context context) {
super(context);
}