33 xmlns : app =" http://schemas.android.com/apk/res-auto"
44 xmlns : tools =" http://schemas.android.com/tools"
55 android : layout_width =" match_parent"
6- android : layout_height =" match_parent" >
6+ android : layout_height =" match_parent"
7+ android : background =" ?android:colorBackground" >
78
89 <LinearLayout
910 android : layout_width =" match_parent"
1011 android : layout_height =" wrap_content"
1112 android : orientation =" vertical" >
1213
13- <!-- Toolbar -->
1414 <com .google.android.material.appbar.MaterialToolbar
1515 android : id =" @+id/toolbar"
1616 android : layout_width =" match_parent"
1717 android : layout_height =" ?attr/actionBarSize"
18- app : navigationIcon =" ?attr/homeAsUpIndicator"
19- app : title =" Kişi Ekle" />
18+ android : background =" ?attr/colorSurface"
19+ app : navigationIcon =" ?homeAsUpIndicator"
20+ app : navigationIconTint =" ?attr/colorOnSurface"
21+ app : title =" Kişiyi Düzenle"
22+ app : titleTextColor =" ?attr/colorOnSurface" />
2023
21- <!-- Content -->
2224 <LinearLayout
2325 android : layout_width =" match_parent"
2426 android : layout_height =" wrap_content"
2527 android : gravity =" center_horizontal"
2628 android : orientation =" vertical"
2729 android : padding =" 24dp" >
2830
29- <!-- Profile Image Placeholder -->
3031 <com .google.android.material.imageview.ShapeableImageView
3132 android : id =" @+id/profileImageView"
3233 android : layout_width =" 120dp"
3334 android : layout_height =" 120dp"
3435 android : layout_marginBottom =" 24dp"
3536 android : background =" ?attr/selectableItemBackgroundBorderless"
3637 android : clickable =" true"
37- android : contentDescription =" Profil Fotoğrafı"
3838 android : focusable =" true"
3939 android : padding =" 4dp"
40- android : scaleType =" centerCrop"
41- android : src =" @drawable/avatar"
40+ android : scaleType =" centerInside"
41+ android : src =" @drawable/baseline_person_24"
42+ app : backgroundTint =" ?attr/colorSurfaceVariant"
43+ app : shapeAppearanceOverlay =" @style/ShapeAppearanceOverlay.App.CornerSize50Percent"
4244 app : strokeColor =" ?attr/colorOutline"
4345 app : strokeWidth =" 2dp"
44- app : shapeAppearanceOverlay = " @style/ShapeAppearanceOverlay.App.CornerSize50Percent " />
46+ app : tint = " ?attr/colorOnSurfaceVariant " />
4547
46- <!-- Name input -->
4748 <com .google.android.material.textfield.TextInputLayout
49+ style =" @style/Widget.Material3.TextInputLayout.FilledBox"
4850 android : layout_width =" match_parent"
4951 android : layout_height =" wrap_content"
5052 android : layout_marginBottom =" 16dp"
5456 android : id =" @+id/nameInput"
5557 android : layout_width =" match_parent"
5658 android : layout_height =" wrap_content"
57- android : inputType =" textCapWords" />
59+ android : inputType =" textCapWords"
60+ android : textColor =" ?attr/colorOnSurface"
61+ android : textColorHint =" ?attr/colorOnSurfaceVariant" />
5862 </com .google.android.material.textfield.TextInputLayout>
5963
60- <!-- Birth Date input -->
6164 <com .google.android.material.textfield.TextInputLayout
65+ style =" @style/Widget.Material3.TextInputLayout.FilledBox"
6266 android : layout_width =" match_parent"
6367 android : layout_height =" wrap_content"
6468 android : layout_marginBottom =" 16dp"
6569 android : hint =" Doğum Tarihi"
66- app : startIconDrawable =" @drawable/calendar_24" >
70+ app : startIconDrawable =" @drawable/calendar_24"
71+ app : startIconTint =" ?attr/colorOnSurfaceVariant" >
6772
6873 <com .google.android.material.textfield.TextInputEditText
6974 android : id =" @+id/birthDateInput"
7075 android : layout_width =" match_parent"
7176 android : layout_height =" wrap_content"
7277 android : focusable =" false"
7378 android : inputType =" none"
79+ android : textColor =" ?attr/colorOnSurface"
80+ android : textColorHint =" ?attr/colorOnSurfaceVariant"
7481 tools : text =" 07.05.1998" />
7582 </com .google.android.material.textfield.TextInputLayout>
7683
77- <!-- Phone Number input -->
7884 <com .google.android.material.textfield.TextInputLayout
85+ style =" @style/Widget.Material3.TextInputLayout.FilledBox"
7986 android : layout_width =" match_parent"
8087 android : layout_height =" wrap_content"
8188 android : layout_marginBottom =" 16dp"
8289 android : hint =" Telefon Numarası"
83- app : startIconDrawable =" @drawable/phone_24" >
90+ app : startIconDrawable =" @drawable/phone_24"
91+ app : startIconTint =" ?attr/colorOnSurfaceVariant" >
8492
8593 <com .google.android.material.textfield.TextInputEditText
8694 android : id =" @+id/phoneInput"
8795 android : layout_width =" match_parent"
8896 android : layout_height =" wrap_content"
89- android : inputType =" phone" />
97+ android : inputType =" phone"
98+ android : textColor =" ?attr/colorOnSurface"
99+ android : textColorHint =" ?attr/colorOnSurfaceVariant" />
90100 </com .google.android.material.textfield.TextInputLayout>
91101
92- <!-- Note input -->
93102 <com .google.android.material.textfield.TextInputLayout
103+ style =" @style/Widget.Material3.TextInputLayout.FilledBox"
94104 android : layout_width =" match_parent"
95105 android : layout_height =" wrap_content"
96106 android : layout_marginBottom =" 24dp"
102112 android : layout_height =" wrap_content"
103113 android : inputType =" textMultiLine"
104114 android : maxLines =" 4"
105- android : minLines =" 2" />
115+ android : minLines =" 2"
116+ android : textColor =" ?attr/colorOnSurface"
117+ android : textColorHint =" ?attr/colorOnSurfaceVariant" />
106118 </com .google.android.material.textfield.TextInputLayout>
107119
108- <!-- Save button -->
109120 <com .google.android.material.button.MaterialButton
110121 android : id =" @+id/saveButton"
111122 android : layout_width =" match_parent"
112123 android : layout_height =" wrap_content"
113- android : text =" Kaydet" />
124+ android : paddingVertical =" 12dp"
125+ android : text =" Kaydet"
126+ android : textSize =" 18sp"
127+ app : cornerRadius =" 8dp" />
114128 </LinearLayout >
115129 </LinearLayout >
116- </ScrollView >
130+ </ScrollView >
0 commit comments