I am using the latest version of the android material design library (1.2.0-alpha05). I have added app:suffixText="PlaceHolder" in TextInputLayout. I want suffixText to be displayed by default, but currently, it is visible only when TextInputLayout gains focus. When TextInputLayout loses focus, I can't see suffixText. Here is my code-:
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textField"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
app:suffixText="PlaceHolder"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:hint="hint">
<com.google.android.material.textfield.TextInputEditText android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
Please let me know, how can I display suffix text by default.