He changed into his uniform in the space between his bed and the wall.  With few beds on their side of the room, they had a bit more room to move about.  Draco was careful to make sure his Dark Mark was covered when he turned around.  Mechanically he tied his tie and pulled on his robes.