diff --git a/lib-dividerdrawable/src/main/java/cn/nekocode/dividerdrawable/DividerDrawable.java b/lib-dividerdrawable/src/main/java/cn/nekocode/dividerdrawable/DividerDrawable.java index bd9d9d6..67960b3 100644 --- a/lib-dividerdrawable/src/main/java/cn/nekocode/dividerdrawable/DividerDrawable.java +++ b/lib-dividerdrawable/src/main/java/cn/nekocode/dividerdrawable/DividerDrawable.java @@ -29,11 +29,12 @@ * @author nekocode (nekocode.cn@gmail.com) */ 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[];