Fix footer space problem and add DetailActivity.