This is a demo for setLayout/getLayout.