valerio-bozzolan / AcrylicPaint

Acrylic Paint is now maintained by @valerio-bozzolan until @Anupam1525 comes back. Note that pull requests are more appreciated than enhancement-reports. We know what Acrylic Paint does and what Acrylic Paint does not :^)
https://gitpull.it/tag/acrylic_paint/
GNU General Public License v3.0
45 stars 32 forks source link

Is the plus sign in the following an error: android:icon="@+drawable/ #50

Closed mhurwicz closed 7 years ago

mhurwicz commented 7 years ago

In /app/res/menu/main.xml , Android Studio 2.2.3 is giving me a "Cannot resolve symbol" error for each icon line. If I remove the plus sign, that error goes away. But the app seems to work fine with the plus signs, too. Are the plus signs just plain wrong? Or is there something going on here that I don't understand?

http://stackoverflow.com/questions/41647704/is-the-plus-sign-in-the-following-an-error-androidicon-drawable

TheOpenSourceNinja commented 7 years ago

I too get the "cannot resolve symbol" error message. I've simply ignored it since the app compiles & runs anyway.

mhurwicz commented 7 years ago

Based on stackoverflow feedback, I'm deleting the + signs if I use this code.

valerio-bozzolan commented 7 years ago

This project is now associated to a StackOverflow question about how inconsistent is Android Studio.

Sounds good.

valerio-bozzolan commented 7 years ago

@mhurwicz Thanks, I think that we can keep this opened until a PR.

mhurwicz commented 7 years ago

Sorry, Valerio, I thought because of the label you applied and the comment you made that you considered this more a problem of Android Studio than AcrylicPaint. But I have now created a PR.

valerio-bozzolan commented 7 years ago

@mhurwicz Considering that the 98% of the time involved in this Android app is concerning Android Studio instead of in coding. Not a wontfix, only a "rant" :^)

Thanks, merged.