public static int getIconHeight(Resources resources, int iconResId){
        BitmapFactory.Options options = new BitmapFactory.Options();
        options.inJustDecodeBounds = true;
        BitmapFactory.decodeResource(resources, iconResId, options);
        return options.outHeight;
    }
Sets variables(isWeekend, isDisabled, isFromConnectedCalendar) to day
cosmocalendar/src/main/java/com/applikeysolutions/cosmocalendar/utils/CalendarUtils.java