1313 <TextView
1414 android : layout_width =" wrap_content"
1515 android : layout_height =" wrap_content"
16- android : text =" Hello World!"
17- app : layout_constraintBottom_toBottomOf =" parent"
18- app : layout_constraintLeft_toLeftOf =" parent"
19- app : layout_constraintRight_toRightOf =" parent"
20- app : layout_constraintTop_toTopOf =" parent" />
16+ android : layout_marginTop =" 15dp"
17+ android : text =" @string/calculate_your"
18+ android : textColor =" @color/purple_200"
19+ android : textSize =" 25sp"
20+ android : textStyle =" bold" />
21+
22+ <TextView
23+ android : id =" @+id/textAge"
24+ android : layout_width =" wrap_content"
25+ android : layout_height =" wrap_content"
26+ android : layout_marginTop =" 15dp"
27+ android : background =" @color/teal_700"
28+ android : padding =" 10dp"
29+ android : text =" @string/age"
30+ android : textColor =" @color/white"
31+ android : textSize =" 25sp"
32+ android : textStyle =" bold" />
33+
34+ <TextView
35+ android : layout_width =" wrap_content"
36+ android : layout_height =" wrap_content"
37+ android : layout_marginTop =" 15dp"
38+ android : text =" @string/in_minutes"
39+ android : textColor =" @color/purple_200"
40+ android : textSize =" 25sp"
41+ android : textStyle =" bold" />
42+
43+ <Button
44+ android : id =" @+id/button"
45+ android : layout_width =" match_parent"
46+ android : layout_height =" wrap_content"
47+ android : layout_marginTop =" 15dp"
48+ android : background =" @color/white"
49+ android : text =" @string/select_date"
50+ android : textSize =" 20sp"
51+ android : textStyle =" bold" />
52+
53+ <TextView
54+ android : id =" @+id/tvSelectedDate"
55+ android : layout_width =" wrap_content"
56+ android : layout_height =" wrap_content"
57+ android : layout_marginTop =" 20dp"
58+ android : textColor =" @color/purple_700"
59+ android : textSize =" 25sp"
60+ android : textStyle =" normal" />
61+
62+ <TextView
63+ android : layout_width =" wrap_content"
64+ android : layout_height =" wrap_content"
65+ android : text =" Selected Date"
66+ android : textColor =" #B7B7B7"
67+ android : textSize =" 18sp" />
68+
69+ <TextView
70+ android : id =" @+id/tvSelectedDateInMinutes"
71+ android : layout_width =" wrap_content"
72+ android : layout_height =" wrap_content"
73+ android : layout_marginTop =" 20dp"
74+ android : textColor =" @color/teal_200"
75+ android : textSize =" 35sp"
76+ android : textStyle =" normal" />
77+
78+ <TextView
79+ android : layout_width =" wrap_content"
80+ android : layout_height =" wrap_content"
81+ android : text =" Age in minutes"
82+ android : textColor =" #B7B7B7"
83+ android : textSize =" 18sp" />
2184
2285</LinearLayout >
0 commit comments