44 xmlns : tools =" http://schemas.android.com/tools"
55 android : layout_width =" match_parent"
66 android : layout_height =" match_parent"
7- android : background =" #444444"
87 tools : context =" .MainActivity" >
98
109 <TextView
10+ android : id =" @+id/textView"
1111 android : layout_width =" wrap_content"
1212 android : layout_height =" wrap_content"
13- android : text = " Hello World! "
14- app : layout_constraintBottom_toBottomOf = " parent "
15- app : layout_constraintLeft_toLeftOf = " parent "
16- app : layout_constraintRight_toRightOf =" parent"
13+ android : layout_marginStart = " 16dp "
14+ android : layout_marginTop = " 16dp "
15+ android : text = " Please enter the OTP "
16+ app : layout_constraintStart_toStartOf =" parent"
1717 app : layout_constraintTop_toTopOf =" parent" />
1818
1919 <com .broooapps.otpedittext2.OtpEditText
20- android : id =" @+id/top "
20+ android : id =" @+id/oev_view "
2121 android : layout_width =" match_parent"
2222 android : layout_height =" wrap_content"
2323 android : clickable =" false"
2424 android : cursorVisible =" false"
2525 android : digits =" 0123456789"
2626 android : maxLength =" 6"
2727 android : padding =" 32dp"
28- app : oev_text_color = " #dd1212 "
28+ android : hint = " hi "
2929 android : textSize =" 30sp"
30- app : oev_primary_color = " #CCFF00 "
30+ app : layout_constraintTop_toBottomOf = " @+id/textView "
3131 app : oev_box_style =" @string/style_rounded_underline"
32- app : oev_secondary_color =" #DADADA"
33- app : layout_constraintTop_toTopOf =" parent"
3432 app : oev_mask_character =" *"
35- app : oev_mask_input =" true" />
33+ app : oev_mask_input =" true"
34+ app : oev_primary_color =" #CCFF00"
35+ app : oev_secondary_color =" #DADADA"
36+ app : oev_text_color =" #dd1212"
37+ tools : layout_editor_absoluteX =" 0dp" />
3638
3739 <Button
3840 android : id =" @+id/button"
39- android : layout_width =" 0dp "
41+ android : layout_width =" wrap_content "
4042 android : layout_height =" wrap_content"
41- android : visibility =" gone"
4243 android : onClick =" displayText"
43- android : text =" Click me "
44+ android : text =" Submit "
4445 app : layout_constraintEnd_toEndOf =" parent"
46+ app : layout_constraintHorizontal_bias =" 0.086"
4547 app : layout_constraintStart_toStartOf =" parent"
46- app : layout_constraintTop_toBottomOf =" @id/top " />
48+ app : layout_constraintTop_toBottomOf =" @id/oev_view " />
4749
4850 <TextView
49- android : id =" @+id/textView "
51+ android : id =" @+id/text_display "
5052 android : layout_width =" wrap_content"
5153 android : layout_height =" wrap_content"
52- android : layout_marginTop =" 80dp "
54+ android : layout_marginTop =" 15dp "
5355 app : layout_constraintEnd_toEndOf =" parent"
54- app : layout_constraintStart_toStartOf =" parent"
55- app : layout_constraintTop_toBottomOf =" @id/button" />
56-
56+ app : layout_constraintStart_toEndOf =" @+id/button"
57+ app : layout_constraintTop_toBottomOf =" @+id/oev_view" />
5758
5859</androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments