。
Have you gotten used to dorm life?
Literal
Dormitory-life [to-には] got-accustomed [question-か]?
~に慣れる (to get used to X) takes に for the thing one is adapting to. 寮生活 is a compound: 寮 (dormitory) + 生活 (life). The polite past ~ましたか asks about a completed transition — 'have you by now gotten used to it?'