Over the decades Spain has gone from men never wearing shorts, to only seeing them in beach areas, to seeing them in rural locations, and now, even in the large cities. You'll probably see fewer old timers wearing shorts. For younger generations it seems that almost anything and everything goes (male and female).