Add layout attribute snippets

@shailen @ebidel PTAL
done