Jonathan Trott was unbeaten on 40 and Kevin Pietersen was on 29.
Sri Lanka were earlier bowled out for 214 in their second innings.