add XTemplate Layout Sample