Android TextInputLayout prefix/suffix text not appear even after upgrade to 1.2.0-alpha01-ThrowExceptions

Exception or error:

I try to implement prefix/suffix text after upgrade to com.google.android.material:material:1.2.0-alpha01 but it doesn’t work, prefix/suffix text is not appear is there any solution or should i upgrade another dependencies?

here some code snippet

<com.google.android.material.textfield.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:prefixText="$">

        <com.google.android.material.textfield.TextInputEditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>

</com.google.android.material.textfield.TextInputLayout>
How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *