Skip to content

Commit 9ff6014

Browse files
committed
revert config changes
1 parent f0f8661 commit 9ff6014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

otpedittext2/src/main/java/com/broooapps/otpedittext2/OtpEditText.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class OtpEditText extends AppCompatEditText implements TextWatcher {
3838
private int mTextColor;
3939

4040
private float mLineStrokeSelected = 2; //2dp by default
41-
private float mLineStroke = 20; //1dp by default
41+
private float mLineStroke = 1; //1dp by default
4242
private float mSpace = 8; //24 dp by default, space between the lines
4343
private float mCharSize;
4444
private float mNumChars = 6;
@@ -83,7 +83,7 @@ private void init(Context context, AttributeSet attrs) {
8383
mLineStrokeSelected = multi * mLineStrokeSelected;
8484

8585
mLinesPaint = new Paint(getPaint());
86-
mLinesPaint.setStrokeWidth(20);
86+
mLinesPaint.setStrokeWidth(mLineStroke);
8787

8888
setBackgroundResource(0);
8989
mSpace = multi * mSpace; //convert to pixels for our density

0 commit comments

Comments
 (0)