Sonntag, 15. Juni 2014

Including new Resources into your Xamarin Android project

I've just downloaded the android action bar icon library from google and copy-pasted a view icons to my resources. After including them into my project i faced the followign error:

Error 26 No resource found that matches the given name (at 'icon' with value '@drawable/ic_action_refresh'). 


I've checked the "Drawable"-Folders about 100 times, recreated the resource file but that did not help.

The problem was actually, that the default "Build Action" for the drawables is set to "BundleResource" which is actually wrong.

Change it to "Android Resource" and everything just works fine :-)





Montag, 2. Juni 2014

Just moved ahead to my new blog! The old one (opendix.blogspot.com) will no more receive any love from my side.. so bookmark this one and stay tuned :-)