So, I use TextInputLayout and EditText to input email, but I have some trouble with hint placement. I also don't know how to change the color of this "I" symbol. Here is my XML for this email field:
<com.google.android.material.textfield.TextInputLayout style="@style/ThemeOverlay.Material3.AutoCompleteTextView.OutlinedBox" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:textColorHint="@color/black" app:hintTextColor="@color/black" app:boxStrokeColor="@color/black"> <EditText android:layout_width="350dp" android:layout_height="wrap_content" android:hint="@string/test_email" android:textSize="20sp" android:id="@+id/logEmail" android:layout_gravity="center" android:inputType="textEmailAddress" android:layout_marginTop="20dp" android:layout_marginStart="30dp" android:layout_marginEnd="30dp" android:textColorHint="#616161"/> </com.google.android.material.textfield.TextInputLayout>