Skip to content

Commit

Permalink
Add default stroke width
Browse files Browse the repository at this point in the history
  • Loading branch information
nekocode committed May 18, 2017
1 parent bf5be11 commit 27ef543
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@
* @author nekocode ([email protected])
*/
public class DividerDrawable extends Drawable {
public static final int DEFAULT_STORKE_WIDTH = 1;
public static final int DEFAULT_COLOR = 0xFFCCCCCC;

private final Paint paint;
private DividerLayout layout;
private int strokeWidth;
private int strokeWidth = DEFAULT_STORKE_WIDTH;
private int wh[] = new int[2];
private int layouted[];

Expand Down

0 comments on commit 27ef543

Please sign in to comment.