Bayer Leverkusen have signed Switzerland midfielder Granit Xhaka from Arsenal on a five-year deal, the Bundesliga club said on Thursday.