Layout parameters added as Global variable. Margins declared as global variable. Height and Width changed to WRAP_CONTENT and MATCH_PARENT
Comments added for the searchbox and searchresult layout