added padding&realive inner rectagulars to main.xml