Issue
so I was creating an android app via Xamarin.android that contains a customized listview following the steps in this tutorial: https://docs.microsoft.com/en-us/xamarin/android/user-interface/layouts/list-view/customizing-appearance#accessories. it worked well until I reached the step of the custom selector. when I added it I got the error in the title: resource color/cellback (aka com.companyname.app22:color/cellback) not found. in addition to "failed linking file resources" error. I tried restoring NuGet packages, cleaning and rebuilding the solution, but it didn't work. I recreated the app but making the custom selector first but still got those errors. any ideas?
Solution
resource color/cellback
is the custom color name you need to define in the Resources
--> values
--> colors.xml
:
Answered By - nevermore
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.