LayoutAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Declares initial multi-window layout information for an activity.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public sealed class LayoutAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type LayoutAttribute = class
inherit Attribute
- Inheritance
-
LayoutAttribute
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
| Name | Description |
|---|---|
| LayoutAttribute() |
Initializes a multi-window activity layout declaration. |
Properties
| Name | Description |
|---|---|
| DefaultHeight |
Gets or sets the initial height declared for the activity window. |
| DefaultWidth |
Gets or sets the initial width declared for the activity window. |
| Gravity |
Gets or sets the initial positioning gravity for the activity window. |
| MinHeight |
Gets or sets the minimum height declared for the activity's task layout. |
| MinWidth |
Gets or sets the minimum width declared for the activity's task layout. |