1313 android : layout_width =" match_parent"
1414 android : layout_height =" wrap_content"
1515 android : background =" ?attr/colorSurface"
16+ android : elevation =" 4dp"
1617 android : minHeight =" ?attr/actionBarSize"
17- app : layout_constraintEnd_toEndOf = " parent "
18- app : layout_constraintStart_toStartOf = " parent "
18+ app : title = " @string/home_title "
19+ app : titleTextColor = " ?attr/colorOnSurface "
1920 app : layout_constraintTop_toTopOf =" parent"
20- app : title = " Doğum Günleri "
21- app : titleTextColor = " ?attr/colorOnSurface " />
21+ app : layout_constraintStart_toStartOf = " parent "
22+ app : layout_constraintEnd_toEndOf = " parent " />
2223
2324 <androidx .constraintlayout.widget.ConstraintLayout
2425 android : id =" @+id/emptySection"
2526 android : layout_width =" match_parent"
2627 android : layout_height =" 0dp"
2728 android : visibility =" gone"
28- app : layout_constraintBottom_toBottomOf = " parent "
29- app : layout_constraintTop_toBottomOf = " @id/materialToolbar " >
29+ app : layout_constraintTop_toBottomOf = " @id/materialToolbar "
30+ app : layout_constraintBottom_toBottomOf = " parent " >
3031
3132 <ImageView
3233 android : id =" @+id/emptyIcon"
33- android : layout_width =" 96dp "
34- android : layout_height =" 96dp "
35- android : alpha =" 0.5 "
36- android : contentDescription =" Empty State Icon "
34+ android : layout_width =" 72dp "
35+ android : layout_height =" 72dp "
36+ android : alpha =" 1 "
37+ android : contentDescription =" @string/empty_icon_desc "
3738 android : src =" @drawable/person_24"
39+ app : tint =" ?attr/colorOnSurfaceVariant"
40+ app : layout_constraintTop_toTopOf =" parent"
3841 app : layout_constraintBottom_toBottomOf =" parent"
39- app : layout_constraintEnd_toEndOf =" parent"
4042 app : layout_constraintStart_toStartOf =" parent"
41- app : layout_constraintTop_toTopOf =" parent"
42- app : layout_constraintVertical_bias =" 0.40"
43- app : tint =" ?attr/colorOnBackground" />
43+ app : layout_constraintEnd_toEndOf =" parent"
44+ app : layout_constraintVertical_bias =" 0.4" />
4445
4546 <TextView
4647 android : id =" @+id/emptyText"
4748 android : layout_width =" wrap_content"
4849 android : layout_height =" wrap_content"
4950 android : layout_marginTop =" 6dp"
50- android : alpha =" 0.5"
51- android : text =" Henüz kimse eklenmedi"
52- android : textAppearance =" @style/TextAppearance.Material3.BodyLarge"
53- android : textColor =" ?attr/colorOnBackground"
54- android : textStyle =" bold"
55- app : layout_constraintEnd_toEndOf =" @+id/emptyIcon"
56- app : layout_constraintStart_toStartOf =" @+id/emptyIcon"
57- app : layout_constraintTop_toBottomOf =" @id/emptyIcon" />
51+ android : text =" @string/empty_state_message"
52+ android : textAppearance =" @style/TextAppearance.Material3.BodyMedium"
53+ android : textColor =" ?attr/colorOnSurfaceVariant"
54+ app : layout_constraintTop_toBottomOf =" @id/emptyIcon"
55+ app : layout_constraintStart_toStartOf =" @id/emptyIcon"
56+ app : layout_constraintEnd_toEndOf =" @id/emptyIcon" />
5857 </androidx .constraintlayout.widget.ConstraintLayout>
5958
60-
6159 <androidx .constraintlayout.widget.ConstraintLayout
6260 android : id =" @+id/todaySection"
6361 android : layout_width =" match_parent"
6462 android : layout_height =" wrap_content"
65- android : padding =" 12dp "
63+ android : padding =" 16dp "
6664 android : visibility =" gone"
67- app : layout_constraintEnd_toEndOf = " parent "
65+ app : layout_constraintTop_toBottomOf = " @id/materialToolbar "
6866 app : layout_constraintStart_toStartOf =" parent"
69- app : layout_constraintTop_toBottomOf = " @+id/materialToolbar " >
67+ app : layout_constraintEnd_toEndOf = " parent " >
7068
7169 <TextView
7270 android : id =" @+id/todayBirthdayTitle"
7371 android : layout_width =" match_parent"
7472 android : layout_height =" wrap_content"
75- android : text =" Bugün Doğum Günü Olanlar 🎉"
73+ android : text =" @string/today_birthdays_title"
74+ android : textAppearance =" @style/TextAppearance.Material3.TitleMedium"
7675 android : textColor =" ?attr/colorOnBackground"
77- android : textSize =" 18sp"
78- android : textStyle =" bold"
79- android : visibility =" visible"
80- app : layout_constraintEnd_toEndOf =" parent"
76+ app : layout_constraintTop_toTopOf =" parent"
8177 app : layout_constraintStart_toStartOf =" parent"
82- app : layout_constraintTop_toTopOf =" parent" />
78+ app : layout_constraintEnd_toEndOf =" parent" />
8379
8480 <androidx .recyclerview.widget.RecyclerView
8581 android : id =" @+id/todayRecyclerView"
8985 android : layout_marginBottom =" 16dp"
9086 android : visibility =" visible"
9187 app : layoutManager =" androidx.recyclerview.widget.LinearLayoutManager"
92- app : layout_constraintEnd_toEndOf = " parent "
88+ app : layout_constraintTop_toBottomOf = " @id/todayBirthdayTitle "
9389 app : layout_constraintStart_toStartOf =" parent"
94- app : layout_constraintTop_toBottomOf = " @id/todayBirthdayTitle " />
90+ app : layout_constraintEnd_toEndOf = " parent " />
9591 </androidx .constraintlayout.widget.ConstraintLayout>
9692
97-
9893 <androidx .constraintlayout.widget.ConstraintLayout
9994 android : id =" @+id/allSection"
10095 android : layout_width =" match_parent"
10196 android : layout_height =" 0dp"
102- android : padding =" 12dp "
97+ android : padding =" 16dp "
10398 android : visibility =" gone"
99+ app : layout_constraintTop_toBottomOf =" @id/todaySection"
104100 app : layout_constraintBottom_toBottomOf =" parent"
105- app : layout_constraintEnd_toEndOf =" parent"
106101 app : layout_constraintStart_toStartOf =" parent"
107- app : layout_constraintTop_toBottomOf = " @+id/todaySection " >
102+ app : layout_constraintEnd_toEndOf = " parent " >
108103
109104 <TextView
110105 android : id =" @+id/allTitle"
111- android : layout_width =" 0dp "
106+ android : layout_width =" match_parent "
112107 android : layout_height =" wrap_content"
113- android : text =" Tüm Kişiler"
108+ android : text =" @string/all_people_title"
109+ android : textAppearance =" @style/TextAppearance.Material3.TitleMedium"
114110 android : textColor =" ?attr/colorOnBackground"
115- android : textSize =" 18sp"
116- android : textStyle =" bold"
117- android : visibility =" visible"
118- app : layout_constraintEnd_toEndOf =" parent"
111+ app : layout_constraintTop_toTopOf =" parent"
119112 app : layout_constraintStart_toStartOf =" parent"
120- app : layout_constraintTop_toTopOf =" parent" />
113+ app : layout_constraintEnd_toEndOf =" parent" />
121114
122115 <androidx .recyclerview.widget.RecyclerView
123116 android : id =" @+id/allRecyclerView"
126119 android : layout_marginTop =" 8dp"
127120 android : visibility =" visible"
128121 app : layoutManager =" androidx.recyclerview.widget.LinearLayoutManager"
122+ app : layout_constraintTop_toBottomOf =" @id/allTitle"
129123 app : layout_constraintBottom_toBottomOf =" parent"
130- app : layout_constraintEnd_toEndOf =" parent"
131124 app : layout_constraintStart_toStartOf =" parent"
132- app : layout_constraintTop_toBottomOf = " @id/allTitle " />
125+ app : layout_constraintEnd_toEndOf = " parent " />
133126 </androidx .constraintlayout.widget.ConstraintLayout>
134127
135128 <com .google.android.material.floatingactionbutton.FloatingActionButton
136129 android : id =" @+id/fab"
137130 android : layout_width =" wrap_content"
138131 android : layout_height =" wrap_content"
139132 android : layout_margin =" 16dp"
133+ android : contentDescription =" @string/add_person"
140134 android : backgroundTint =" ?attr/colorPrimaryContainer"
141- android : clickable =" true"
142- android : contentDescription =" Add Person"
143- android : focusable =" true"
144- app : elevation =" 6dp"
145135 app : srcCompat =" @android:drawable/ic_menu_add"
146- app : layout_constraintBottom_toBottomOf =" parent"
147- app : layout_constraintEnd_toEndOf =" parent"
136+ app : elevation =" 3dp"
137+ app : tint =" ?attr/colorOnPrimaryContainer"
138+ app : rippleColor =" ?attr/colorPrimary"
148139 app : shapeAppearanceOverlay =" @style/ShapeAppearanceOverlay.App.CornerSize50Percent"
149- app : tint =" ?attr/colorOnPrimaryContainer" />
150- </androidx .constraintlayout.widget.ConstraintLayout>
140+ app : layout_constraintBottom_toBottomOf =" parent"
141+ app : layout_constraintEnd_toEndOf =" parent" />
142+ </androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments