tiper / MaterialSpinner

Implementation of a Material Spinner for Android with TextInputLayout functionalities
Apache License 2.0
130 stars 30 forks source link

Crash when adding @style/Widget.MaterialComponents.TextInputLayout.OutlinedBox #25

Closed ralphevmanzano closed 4 years ago

ralphevmanzano commented 4 years ago

How do I style this? As I read from the docs, it should be styled the same as TextInputLayout but when adding a style the app crashes and says failed to inflate the MaterialSpinner class.

<com.tiper.MaterialSpinner
        android:id="@+id/spinnerRequestType"
        style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
        layout_width="match_parent"
        layout_height="wrap_content"
        layout_marginTop="@dimen/margin_small" />

this is the only code I added and also I have the material dependency version 1.1.0-rc02

ralphevmanzano commented 4 years ago

apparently it was fixed when I removed my material design dependency which I added before adding this library