If there is NO Text typed into TextInputEditText, the Android Accessibility talkback will read the hint in TextInputLayout.
However, Android Talkback will NOT read the hint in TextInputLayout if there is text added into the TextInputEditText.
I Need the Accessibility Talkback to Always read the hint in TextInputLayout.
Does anyone know how to do it?
Thanks guys
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:labelFor="@+id/editText"
android:hint="username">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</com.google.android.material.textfield.TextInputLayout>