Android 基础控件与线性布局

线性布局   LinearLayout 

  1. orientation属性 :表示方向

                vertical      :垂直方向

                horizontal  :水平方向

    2. layout_width属性: 宽度

        layout_height属性:高度

Android常用控件

  1. TextView 文本框
  2. ImageView 图片框
  3. Button 按钮

猜你喜欢

转载自blog.csdn.net/xyy731121463/article/details/88668946
今日推荐