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"