Add layout attribute snippets

@shailen @ebidel PTAL