IT. Expert System.

Android Reference

R.attr


android.support.v7.gridlayout

Class R.attr

  • Enclosing class:
    R


    public static final class R.attr
    extends Object
    • Field Summary

      Fields
      Modifier and Type Field and Description
      static int alignmentMode
      When set to alignMargins, causes alignment to take place between the outer boundary of a view, as defined by its margins.
      static int columnCount
      The maximum number of columns to create when automatically positioning children.
      static int columnOrderPreserved
      When set to true, forces column boundaries to appear in the same order as column indices.
      static int layout_column
      The column boundary delimiting the left of the group of cells occupied by this view.
      static int layout_columnSpan
      The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view.
      static int layout_gravity
      Gravity specifies how a component should be placed in its group of cells.
      static int layout_row
      END MarginLayout layoutparams The row boundary delimiting the top of the group of cells occupied by this view.
      static int layout_rowSpan
      The row span: the difference between the bottom and top boundaries delimiting the group of cells occupied by this view.
      static int orientation
      support versions.
      static int rowCount
      The maximum number of rows to create when automatically positioning children.
      static int rowOrderPreserved
      When set to true, forces row boundaries to appear in the same order as row indices.
      static int useDefaultMargins
      When set to true, tells GridLayout to use default margins when none are specified in a view's layout parameters.
    • Constructor Summary

      Constructors
      Constructor and Description
      R.attr()
    • Field Detail

      • alignmentMode

        public static int alignmentMode
        When set to alignMargins, causes alignment to take place between the outer boundary of a view, as defined by its margins. When set to alignBounds, causes alignment to take place between the edges of the view. The default is alignMargins. See GridLayout.setAlignmentMode(int).

        Must be one of the following constant values.

        ConstantValueDescription
        alignBounds0 Align the bounds of the children. See GridLayout.ALIGN_BOUNDS.
        alignMargins1 Align the margins of the children. See GridLayout.ALIGN_MARGINS.
      • columnCount

        public static int columnCount
        The maximum number of columns to create when automatically positioning children.

        Must be an integer value, such as "100".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

      • columnOrderPreserved

        public static int columnOrderPreserved
        When set to true, forces column boundaries to appear in the same order as column indices. The default is true. See GridLayout.setColumnOrderPreserved(boolean).

        Must be a boolean value, either "true" or "false".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

      • layout_column

        public static int layout_column
        The column boundary delimiting the left of the group of cells occupied by this view.

        Must be an integer value, such as "100".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

      • layout_columnSpan

        public static int layout_columnSpan
        The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view. The default is one. See GridLayout.Spec.

        Must be an integer value, such as "100".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

      • layout_gravity

        public static int layout_gravity
        Gravity specifies how a component should be placed in its group of cells. The default is LEFT | BASELINE. See GridLayout.LayoutParams.setGravity(int).

        Must be one or more (separated by '|') of the following constant values.

        ConstantValueDescription
        top0x30 Push object to the top of its container, not changing its size.
        bottom0x50 Push object to the bottom of its container, not changing its size.
        left0x03 Push object to the left of its container, not changing its size.
        right0x05 Push object to the right of its container, not changing its size.
        center_vertical0x10 Place object in the vertical center of its container, not changing its size.
        fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
        center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
        fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
        center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
        fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
        clip_vertical0x80 Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges.
        clip_horizontal0x08 Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges.
        start0x00800003 Push object to the beginning of its container, not changing its size.
        end0x00800005 Push object to the end of its container, not changing its size.
      • layout_row

        public static int layout_row
        END MarginLayout layoutparams The row boundary delimiting the top of the group of cells occupied by this view.

        Must be an integer value, such as "100".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

      • layout_rowSpan

        public static int layout_rowSpan
        The row span: the difference between the bottom and top boundaries delimiting the group of cells occupied by this view. The default is one. See GridLayout.Spec.

        Must be an integer value, such as "100".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

      • orientation

        public static int orientation
        support versions. All attributes not present in ViewGroup/View are redefined in the support library namespace. The orientation property is not used during layout. It is only used to allocate row and column parameters when they are not specified by its children's layout parameters. GridLayout works like LinearLayout in this case; putting all the components either in a single row or in a single column - depending on the value of this flag. In the horizontal case, a columnCount property may be additionally supplied to force new rows to be created when a row is full. The rowCount attribute may be used similarly in the vertical case. The default is horizontal.

        Must be one of the following constant values.

        ConstantValueDescription
        horizontal0 Defines an horizontal widget.
        vertical1 Defines a vertical widget.
      • rowCount

        public static int rowCount
        The maximum number of rows to create when automatically positioning children.

        Must be an integer value, such as "100".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

      • rowOrderPreserved

        public static int rowOrderPreserved
        When set to true, forces row boundaries to appear in the same order as row indices. The default is true. See GridLayout.setRowOrderPreserved(boolean).

        Must be a boolean value, either "true" or "false".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

      • useDefaultMargins

        public static int useDefaultMargins
        When set to true, tells GridLayout to use default margins when none are specified in a view's layout parameters. The default value is false. See GridLayout.setUseDefaultMargins(boolean).

        Must be a boolean value, either "true" or "false".

        This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

    • Constructor Detail

      • R.attr

        public R.attr()


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 10816 / . Delta: 0.03042 с