File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
otpedittext2/src/main/java/com/broooapps/otpedittext2 Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 25
25
android : maxLength =" 6"
26
26
android : padding =" 32dp"
27
27
android : textSize =" 30sp"
28
- app : layout_constraintTop_toTopOf =" parent"
29
- app : oev_box_style =" @string/style_rounded_underline" />
28
+ app : layout_constraintTop_toTopOf =" parent" />
30
29
31
30
</android .support.constraint.ConstraintLayout>
Original file line number Diff line number Diff line change @@ -135,16 +135,16 @@ private void getAttrsFromTypedArray(AttributeSet attributeSet) {
135
135
default :
136
136
mStrokePaint = new Paint (getPaint ());
137
137
mStrokePaint .setStrokeWidth (4 );
138
- mStrokePaint .setStyle (Paint .Style .STROKE );
138
+ mStrokePaint .setStyle (Paint .Style .FILL );
139
139
140
- mBoxStyle = ROUNDED_BOX ;
140
+ mBoxStyle = UNDERLINE ;
141
141
}
142
142
} else {
143
143
mStrokePaint = new Paint (getPaint ());
144
144
mStrokePaint .setStrokeWidth (4 );
145
- mStrokePaint .setStyle (Paint .Style .STROKE );
145
+ mStrokePaint .setStyle (Paint .Style .FILL );
146
146
147
- mBoxStyle = ROUNDED_BOX ;
147
+ mBoxStyle = UNDERLINE ;
148
148
}
149
149
150
150
a .recycle ();
You can’t perform that action at this time.
0 commit comments