SyntaxFix
Write A Post
Hire A Developer
Questions
You can change set orientation of linearlayout programmatically by:
LinearLayout linearLayout =new linearLayout(this);//just to give the clarity linearLayout.setOrientation(LinearLayout.VERTICAL);