Adding view variables and assigning them views from the layout file.