No orientation specified, and the default is horizontal. This is a common source of bugs when
children are added dynamically.
原因:在原有佈局文件裏直接修改成了linearlayout,但是沒有定義vertical還是horizontal
改正:在屬性設置裏增加android:orientation="vertical"或者android:orientation="horizontal"