参考:http://www.alibuybuy.com/posts/58036.html
linearLayout.setOrientation(LinearLayout.VERTICAL); setContentView(linearLayout);