关于Grid Layout布局方式,下列哪一项是不正确的()A、会根据容器大小自动排列B、容器被划分为行和列的网格C、添加组件的顺序为自左向右D、可指定水平间隔和垂直间隔

题目

关于Grid Layout布局方式,下列哪一项是不正确的()

  • A、会根据容器大小自动排列
  • B、容器被划分为行和列的网格
  • C、添加组件的顺序为自左向右
  • D、可指定水平间隔和垂直间隔

相似考题
更多“关于Grid Layout布局方式,下列哪一项是不正确的()”相关问题
  • 第1题:

    以下代码定义了一个()布局容器。grid{display:grid;grid-template-columns:20px40px;grid-template-rows:20px40px;}

    A、固定

    B、Flex

    C、CSSGrid

    D、流式


    参考答案:C

  • 第2题:

    下列描述Android中gravity与layout_gravity说法不正确的是()。

    A.gravity是对该view中内容的限定

    B.gravity是用来设置该view相对于父view的位置

    C.layout_gravity是用来设置该view相对于父view的位置

    D.当view在水平线性布局中时,android:layout_gravity属性只有是垂直方向的值才起作用。


    参考答案:B

  • 第3题:

    框架(Frame)的缺省布局管理器就是()

    • A、流程布局(Flow Layout)
    • B、卡布局(Card Layout)
    • C、边框布局(Border Layout)
    • D、网格布局(Grid Layout)

    正确答案:C

  • 第4题:

    关于XY Layout布局方式,下列哪一项是不正确的()

    • A、基于X和Y坐标的绝对位置定位内部组件
    • B、使用时依赖于特定包
    • C、与平台无关
    • D、不利于程序移植

    正确答案:C

  • 第5题:

    layout布局文件的命名不能出现字母()


    正确答案:大写

  • 第6题:

    关于GUI组件集Swing,下列哪一项是不正确的()

    • A、在AWT基础上开发
    • B、重新设计了所有的布局方式
    • C、比AWT提供了更多更强的组件
    • D、能处理更多的事件

    正确答案:B

  • 第7题:

    单选题
    关于GUI组件集Swing,下列哪一项是不正确的()
    A

    在AWT基础上开发

    B

    重新设计了所有的布局方式

    C

    比AWT提供了更多更强的组件

    D

    能处理更多的事件


    正确答案: A
    解析: 暂无解析

  • 第8题:

    单选题
    关于XY Layout布局方式,下列哪一项是不正确的()
    A

    基于X和Y坐标的绝对位置定位内部组件

    B

    使用时依赖于特定包

    C

    与平台无关

    D

    不利于程序移植


    正确答案: B
    解析: 暂无解析

  • 第9题:

    单选题
    关于Flow Layout布局方式,下列哪一项是不正确的()
    A

    内部组件从左向右排列

    B

    界面不随容器大小改变

    C

    内部组件从上到下排列

    D

    该行设置不下,自动排列到下行


    正确答案: B
    解析: 暂无解析

  • 第10题:

    单选题
    框架(Frame)的缺省布局管理器就是()
    A

    流程布局(Flow Layout)

    B

    卡布局(Card Layout)

    C

    边框布局(Border Layout)

    D

    网格布局(Grid Layout)


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    关于GridBagLayout布局方式,下列哪一项是不正确的()
    A

    所有行和列都可以大小不同

    B

    组件在容器内占据不同大小的矩形区域

    C

    有个独立的类约束布局行为

    D

    需要指定行数和列数


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    关于Border Layout布局方式,容器被划分为几个区()
    A

    3

    B

    4

    C

    5

    D

    6


    正确答案: B
    解析: 暂无解析

  • 第13题:

    在相对布局中设置控件位于正中心的属性是()。

    A.layout_toCenterOf

    B.layout_alignCenter

    C.layout_centreInParent

    D.center


    参考答案:C

  • 第14题:

    如果希望控件在界面上按表格行分列排列,应使用下列那种布局管理器?()

    • A、Box Layout
    • B、Grid Layout
    • C、Border Layout
    • D、Flow Lou Layout

    正确答案:B

  • 第15题:

    关于GridBagLayout布局方式,下列哪一项是不正确的()

    • A、所有行和列都可以大小不同
    • B、组件在容器内占据不同大小的矩形区域
    • C、有个独立的类约束布局行为
    • D、需要指定行数和列数

    正确答案:D

  • 第16题:

    关于Border Layout布局方式,容器被划分为几个区()

    • A、3
    • B、4
    • C、5
    • D、6

    正确答案:C

  • 第17题:

    框架(Frame)的缺省布局管理器是()

    • A、流布局(Flow Layout)
    • B、卡布局(Card Layout)
    • C、边框布局(Border Layout)
    • D、网格布局(Grid Layout)

    正确答案:C

  • 第18题:

    How does the weighty property of the GridBagConstraints objects used in grid bag layout affect the layout of the components?()  

    • A、It affects which grid cell the components end up in.
    • B、It affects how the extra vertical space is distributed.
    • C、It affects the alignment of each component.
    • D、It affects whether the components completely fill their allotted display area vertically.

    正确答案:B

  • 第19题:

    单选题
    关于Grid Layout布局方式,下列哪一项是不正确的()
    A

    会根据容器大小自动排列

    B

    容器被划分为行和列的网格

    C

    添加组件的顺序为自左向右

    D

    可指定水平间隔和垂直间隔


    正确答案: A
    解析: 暂无解析

  • 第20题:

    单选题
    Which statement is true?()
    A

     A flow layout can be used to position a component that should resize horizontally when the  container is resized.

    B

     A grid layout can be used to position a component tat should maintain a constant size even when  the container is resized.

    C

     A border layout can be used to position component that should maintain a constant size even when  the container is resized.

    D

     The grid bag layout can be used to give a grid-like layout which differs from the normal grid in that individual rows and columns can have unique sizes.

    E

     If two components are placed in the same column of a grid bag layout, and one component resizes horizontally, then the other component must resize horizontally.


    正确答案: B
    解析: 暂无解析

  • 第21题:

    单选题
    How does the weighty property of the GridBagConstraints objects used in grid bag layout affect the layout of the components?()
    A

    It affects which grid cell the components end up in.

    B

    It affects how the extra vertical space is distributed.

    C

    It affects the alignment of each component.

    D

    It affects whether the components completely fill their allotted display area vertically.


    正确答案: D
    解析: 暂无解析

  • 第22题:

    单选题
    相对布局中,如果指定一个控件位于引用控件的左侧,应该使用()属性。
    A

    android:layout_toParentLeftOf

    B

    android:layout_alignParentLeft

    C

    android:layout_alignLeft

    D

    android:layout_toLeftOf


    正确答案: C
    解析: 暂无解析

  • 第23题:

    单选题
    框架(Frame)的缺省布局管理器是()
    A

    流布局(Flow Layout)

    B

    卡布局(Card Layout)

    C

    边框布局(Border Layout)

    D

    网格布局(Grid Layout)


    正确答案: D
    解析: 暂无解析