added a linear layout, set params and added a textview