Change view inflation mechanism so that layout xml properties of the
undo popup are now respected.