33 xmlns : app =" http://schemas.android.com/apk/res-auto"
44 xmlns : tools =" http://schemas.android.com/tools"
55 android : id =" @+id/main"
6+ android : background =" @color/white"
67 android : layout_width =" match_parent"
78 android : layout_height =" match_parent"
89 tools : context =" .EditAlarm" >
910
11+ <TextView
12+ android : id =" @+id/edittxt"
13+ android : layout_width =" wrap_content"
14+ android : layout_height =" wrap_content"
15+ app : layout_constraintTop_toTopOf =" parent"
16+ app : layout_constraintStart_toStartOf =" parent"
17+ app : layout_constraintEnd_toEndOf =" parent"
18+ android : text =" Select Alarm"
19+ android : fontFamily =" @font/mulish_regular"
20+ android : textStyle =" bold"
21+ android : textSize =" 20dp"
22+ android : layout_marginTop =" 10dp" />
23+
24+
25+ <LinearLayout
26+ android : id =" @+id/linearAlarm"
27+ android : layout_width =" match_parent"
28+ android : layout_height =" wrap_content"
29+ app : layout_constraintTop_toBottomOf =" @id/edittxt"
30+ android : orientation =" horizontal"
31+ android : layout_marginTop =" 15dp"
32+ android : gravity =" center_horizontal" >
33+
34+ <TextView
35+ android : layout_width =" wrap_content"
36+ android : layout_height =" wrap_content"
37+ android : text =" Your alarm will ring in "
38+ android : fontFamily =" @font/mulish_regular"
39+ android : textSize =" 16dp" />
40+
41+ <TextView
42+ android : layout_width =" wrap_content"
43+ android : layout_height =" wrap_content"
44+ android : text =" 9"
45+ android : fontFamily =" @font/mulish_regular"
46+ android : textSize =" 16dp" />
47+
48+ <TextView
49+ android : layout_width =" wrap_content"
50+ android : layout_height =" wrap_content"
51+ android : text =" hr "
52+ android : fontFamily =" @font/mulish_regular"
53+ android : textSize =" 16dp" />
54+
55+ <TextView
56+ android : layout_width =" wrap_content"
57+ android : layout_height =" wrap_content"
58+ android : text =" 16"
59+ android : fontFamily =" @font/mulish_regular"
60+ android : textSize =" 16dp" />
61+
62+ <TextView
63+ android : layout_width =" wrap_content"
64+ android : layout_height =" wrap_content"
65+ android : text =" min"
66+ android : fontFamily =" @font/mulish_regular"
67+ android : textSize =" 16dp" />
68+
69+
70+ </LinearLayout >
71+
72+ <TimePicker
73+ android : layout_width =" wrap_content"
74+ android : layout_height =" wrap_content"
75+ app : layout_constraintTop_toBottomOf =" @id/linearAlarm"
76+ android : layout_marginTop =" 20dp"
77+ android : timePickerMode =" spinner"
78+ app : layout_constraintStart_toStartOf =" parent"
79+ app : layout_constraintEnd_toEndOf =" parent" />
80+
81+ <LinearLayout
82+ android : layout_width =" wrap_content"
83+ android : layout_height =" wrap_content" >
84+
85+ <com .google.android.material.button.MaterialButton
86+ android : layout_width =" wrap_content"
87+ android : layout_height =" wrap_content"
88+
89+ </LinearLayout>
90+
91+
1092</androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments