Попробуйте приведенный ниже код, он работает в обычном состоянии
Измените тему вашего TextInputLayout, как указано ниже
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/ti_email"
android:hint="@string/EmailAddress"
android:layout_toLeftOf="@+id/imEntremail"
android:textColorHint="@color/view"
app:hintTextAppearance="@style/HintTextStyle">
<EditText
android:id="@+id/etentrEmail"
android:layout_width="match_parent"
android:layout_height="@dimen/_30sdp"
android:layout_marginTop="@dimen/_10sdp"
android:cursorVisible="false"
android:imeOptions="actionNext"
android:padding="@dimen/_3sdp"
android:gravity="left|bottom"
android:textColorHint="#B8B8B8"
android:textSize="@dimen/_11ssp"
android:maxLines="1"
android:inputType="text"
android:background="@android:color/transparent"
android:textColor="#000000"/>
</com.google.android.material.textfield.TextInputLayout>
В папке стилей HintTextStyle Код измените код android: textColor на изменить цвет плавающей метки
<style name="HintTextStyle" parent="TextAppearance.Design.Hint">
<item name="android:textSize">14sp</item>
<item name="android:padding">26dp</item>
<item name="android:textColor">#ff0000</item>
</style>