Implement horizontal mode in linearLayout