I am having a minor problem with a field with my XML file when developing my interface for Android Studio. When hovering over my app:popupTheme= "@style/AppTheme.PopupOverlay"
, I am receiving an error message that signifies the field 'Cannot be resolved to a variable.
Sorry for late reply still it can help others who will be looking for solution.
It is because you are refering to your style.xml and there must not be any tag named as ... so you need to add these lines in your style.xml and it will resolve
<style name="AppTheme.PopupOverlay" parent="AppTheme.PopupOverlay">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
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