adjust the layout of app item