线性布局的排列方法由 Orientation 属性控制,vertical 表示垂直排列,horizontal 表示水平排列。 设置垂直排列 android:orientation="vertical" 设置水平排列 android:orientation="horizontal"