Skip to content

Instantly share code, notes, and snippets.

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