File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
otpedittext2/src/main/java/com/broooapps/otpedittext2 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public class OtpEditText extends AppCompatEditText implements TextWatcher {
38
38
private int mTextColor ;
39
39
40
40
private float mLineStrokeSelected = 2 ; //2dp by default
41
- private float mLineStroke = 20 ; //1dp by default
41
+ private float mLineStroke = 1 ; //1dp by default
42
42
private float mSpace = 8 ; //24 dp by default, space between the lines
43
43
private float mCharSize ;
44
44
private float mNumChars = 6 ;
@@ -83,7 +83,7 @@ private void init(Context context, AttributeSet attrs) {
83
83
mLineStrokeSelected = multi * mLineStrokeSelected ;
84
84
85
85
mLinesPaint = new Paint (getPaint ());
86
- mLinesPaint .setStrokeWidth (20 );
86
+ mLinesPaint .setStrokeWidth (mLineStroke );
87
87
88
88
setBackgroundResource (0 );
89
89
mSpace = multi * mSpace ; //convert to pixels for our density
You can’t perform that action at this time.
0 commit comments