add backward compatibility for actionbar and color resources