I downloaded an application (Calendar) from the Android repository.
I tried to compile it, but it gave me errors.
As a developer, the first RULE about repositories I learned was this:
Commit your code IF it can be compiled without errors.
On compile, I get these errors:
Error:(38, -1) android-apt-compiler: [Calendar] C:\Dev\Calendar\res\layout\location_dropdown_item.xml:38: error: Error: No resource found that matches the given name (at 'textColor' with value '@drawable/list_item_font_primary').
Error:(46, -1) android-apt-compiler: [Calendar] C:\Dev\Calendar\res\layout\location_dropdown_item.xml:46: error: Error: No resource found that matches the given name (at 'textColor' with value '@drawable/list_item_font_secondary').
Error:(44, -1) android-apt-compiler: [Calendar] C:\Dev\Calendar\res\layout\recurrencepicker.xml:44: error: Error: No resource found that matches the given name (at 'background' with value '@color/white').
And really, the mentioned xml files are missing from the drawable package. What do yo reckon: was this commit checked?
What should I use instead of those drawables? Color Black? Or Color Red? What is the best way to resolve this issue?
If Google doesn't comply with standards, who will?