Пример #1
0
 @Implementation
 public int getColor(int id) throws Resources.NotFoundException {
   String colorValue = resourceLoader.getColorValue(getResName(id), getQualifiers());
   if (isEmpty(colorValue)) throw new Resources.NotFoundException(notFound(id));
   return Color.parseColor(colorValue);
 }