I want to add Extended floating action button to my android project app but got an error saying failed to find @attr/TextAppearanceButton in current theme. I have implemented material dependency in build.grade module. I am new to Android Development. Please I need a help 🙏🏾.
change your styles.xml to like below
<style name="AppTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
I was also facing the issue of rendering xml files after updating my android studio to DOPLPHIN.
In your xml, add android:theme="@style/YOUR_MATERIAL_THEME" to your parent layout and all rendering issues will be gone.
OR
In your manifest file under <application add android:theme="@style/YOUR_MATERIAL_THEME"
I hope this fixes your issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With