We study spherically symmetric solutions with a scalar field in the shift-symmetric subclass of the Horndeski theory. Constructing an effective energy-momentum tensor of the scalar field based on the two-fluid model, we decompose the scalar field into two components: dark matter and dark energy.We find the dark-matter fluid is pressure-less, and its distribution of energy density obeys the inverse-square law. We show the scalar field dark matter can explain the galaxy rotation curve and discuss the time evolution of the dark matter in the cosmic background.