The code is very simply. There is an EditView on headerView and an EditView on footerView, make the items\' height + headerView\'s height + footerView\'s height = the screen