• 布局管理器


    LinearLayout(线性布局):

      让所有的组件都成为单一的方向,即垂直的伙这水平的(默认)

      android:layout_weight//该属性控制水平和垂直方向某个控件所占的比例

    FrameLayout(帧布局)

    TableLayout(表格布局)
      <TableLayout>
      <TableRow></TableRow> 行
      </TableLayout>

      android:gravity//文字的摆放的位置. top,left,right,center...

    RelativeLayout(相对布局):
      android:layout_below 摆放在指定组件的下边
      android:layout_toLeftOf 摆放在指定组件的左边
      android:layout_toRightOf 摆放在指定组件的右边
      android:layout_alignTop 以指定组件为参考进行上对齐
      android:layout_alignBottom 以指定组件为参考进行下对齐
      android:layout_alignLeft 以指定组件为参考进行左对齐
      android:layout_alignRight 以指定组件为参考进行右对齐

    AbsoluteLayout(绝对布局):
      android:layout_x // x轴的开始坐标
      android:layout_y // y轴的开始坐标

  • 相关阅读:
    window.fonts
    smpt authentification 配置
    如何从思维上应对
    中文字体 英文字体
    Path Breadcrumbs
    drupal commerce app
    做视频或者什么模块开发之类的
    分页符 箭头 难看
    theme wrapper 例子
    background position 稍微深入
  • 原文地址:https://www.cnblogs.com/yiui/p/6884441.html
Copyright © 2020-2023  润新知