Added eclipse related file to .gitignore
Use dimension defined in LayoutParam to layout children if there is any