In this tutorial you will learn how to you linearlayout using xml file in android. In Linearlayout child component of the layout is lie according to line space in horizontal and vertical direction.