An apparatus is provided for cleaning a floor, and in particular a barn floor having a lower portion and an elevated portion that intersect to form a curb. The apparatus is attached to a vehicle that travels in a longitudinal direction. The apparatus includes a scraper for scraping the lower portion of the floor. The scraper is pivotally attached to the vehicle for adjusting a transverse position of an end of the scraper into abutment with the curb. The apparatus also includes a cleaning head for moving material from the elevated portion of the floor. The cleaning head is attached to an arm. The arm is pivotally attached to the scraper for adjusting a transverse position of the cleaning head into alignment with the elevated portion of the floor. The cleaning head is actuated to sweep material transversely into the path of the scraper as the vehicle moves in the longitudinal direction.