Move fragments layouts to code