Well, it is not a problem to learn both Java and Android, here is a debate for people who are confused which is better for them.
seen from Yemen

seen from China
seen from Germany
seen from Netherlands
seen from China
seen from Hong Kong SAR China

seen from Canada

seen from United States
seen from Netherlands

seen from United States

seen from Netherlands
seen from Brazil

seen from France

seen from United Kingdom

seen from Canada
seen from China
seen from Netherlands

seen from Spain

seen from Netherlands
seen from T1
Well, it is not a problem to learn both Java and Android, here is a debate for people who are confused which is better for them.
Linear Layout is a view group that aligns all children in a single direction, vertically or horizontally. You can specify the layout direction with the android:orientation attribute. All children of a LinearLayout are stacked one after the other, so a vertical list will only have one child per row, no matter how wide they are, and a horizontal list will only be one row high (the height of the tallest child, plus padding). A LinearLayout respects margins between children and the gravity (right, center, or left alignment) of each child