Error inflating class android.support.design.widget.TextInputLayout after switching to AndroidX and enabling style/Widget.MaterialComponents.TextInputLayout.OutlinedBox
Hello friends,
today I switched my projects to Androidx (required for a new lib I need), and I get errors about my TextInputLayout.
Please note that it compiles perfectly when I remove OulinedBox style, but I absolutely need it for this project.
Does anyone knows a way to make OulinedBox TextInputLayout style work with AndroidX ?
Thank you so much for your help and time.
<android.support.design.widget.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="60dp"
android:layout_marginTop="20dp"
app:boxStrokeColor="@color/gradient_begin_purple">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/login"
android:textSize="20dp" />
</android.support.design.widget.TextInputLayout>

