button and layout sample