Open yogeshmehare opened 10 months ago
Looks like this is hitting this IllegalArgumentException
: https://github.com/material-components/material-components-android/blob/dfa474fdc76b37af45096f617c854c000b21cb2c/lib/java/com/google/android/material/internal/ThemeEnforcement.java#L187 which is generally caused by theming issues.
Could you please upload a sample project so that we can try to pinpoint the source of the issue?
device is google emulator api 33 and using same material component theme for activity as well as app. I tried by adding android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" this line of code but same isseue is repeating please check.
Code is : <com.google.android.material.textfield.TextInputLayout android:id="@+id/menu" style="@style/Widget.Material3.TextInputLayout.FilledBox.ExposedDropdownMenu" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" android:hint="@string/label">