WindowManagerLayoutParams WindowManagerLayoutParams Class

Definition

[Android.Runtime.Register("android/view/WindowManager$LayoutParams", ApiSince=1, DoNotGenerateAcw=true)]
public class WindowManagerLayoutParams : Android.Views.ViewGroup.LayoutParams, Android.OS.IParcelable, IDisposable
type WindowManagerLayoutParams = class
    inherit ViewGroup.LayoutParams
    interface IParcelable
    interface IJavaObject
    interface IDisposable
Inheritance
WindowManagerLayoutParamsWindowManagerLayoutParams
Attributes
Implements

Remarks

Android platform documentation

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

WindowManagerLayoutParams() WindowManagerLayoutParams()
WindowManagerLayoutParams(Int32, Int32, Int32, Int32, WindowManagerTypes, WindowManagerFlags, Format) WindowManagerLayoutParams(Int32, Int32, Int32, Int32, WindowManagerTypes, WindowManagerFlags, Format)
WindowManagerLayoutParams(Int32, Int32, WindowManagerTypes, WindowManagerFlags, Format) WindowManagerLayoutParams(Int32, Int32, WindowManagerTypes, WindowManagerFlags, Format)
WindowManagerLayoutParams(IntPtr, JniHandleOwnership) WindowManagerLayoutParams(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

WindowManagerLayoutParams(Parcel) WindowManagerLayoutParams(Parcel)
WindowManagerLayoutParams(WindowManagerTypes) WindowManagerLayoutParams(WindowManagerTypes)
WindowManagerLayoutParams(WindowManagerTypes, WindowManagerFlags) WindowManagerLayoutParams(WindowManagerTypes, WindowManagerFlags)
WindowManagerLayoutParams(WindowManagerTypes, WindowManagerFlags, Format) WindowManagerLayoutParams(WindowManagerTypes, WindowManagerFlags, Format)

Fields

AlphaChanged AlphaChanged
AnimationChanged AnimationChanged
BrightnessOverrideFull BrightnessOverrideFull

Value for ScreenBrightness and ButtonBrightness indicating that the screen or button backlight brightness should be set to the hightest value when this window is in front.

BrightnessOverrideNone BrightnessOverrideNone

Default value for ScreenBrightness and ButtonBrightness indicating that the brightness value is not overridden for this window and normal brightness policy should be used.

BrightnessOverrideOff BrightnessOverrideOff

Value for ScreenBrightness and ButtonBrightness indicating that the screen or button backlight brightness should be set to the lowest value when this window is in front.

DimAmountChanged DimAmountChanged
FillParent FillParent

Special value for the height or width requested by a View.

(Inherited from ViewGroup.LayoutParams)
FirstApplicationWindow FirstApplicationWindow

Start of window types that represent normal application windows.

FirstSubWindow FirstSubWindow

Start of types of sub-windows.

FirstSystemWindow FirstSystemWindow

Start of system-specific window types.

FlagsChanged FlagsChanged
FormatChanged FormatChanged
LastApplicationWindow LastApplicationWindow

End of types of application windows.

LastSubWindow LastSubWindow

End of types of sub-windows.

LastSystemWindow LastSystemWindow

End of types of system windows.

LayoutChanged LayoutChanged
MatchParent MatchParent

Special value for the height or width requested by a View.

(Inherited from ViewGroup.LayoutParams)
MemoryTypeChanged MemoryTypeChanged
RotationAnimationChanged RotationAnimationChanged
RotationAnimationCrossfade RotationAnimationCrossfade

Value for RotationAnimation to define the animation used to specify that this window will fade in or out following a rotation.

RotationAnimationJumpcut RotationAnimationJumpcut

Value for RotationAnimation to define the animation used to specify that this window will immediately disappear or appear following a rotation.

RotationAnimationRotate RotationAnimationRotate

Value for RotationAnimation to define the animation used to specify that this window will rotate in or out following a rotation.

RotationAnimationSeamless RotationAnimationSeamless
ScreenBrightnessChanged ScreenBrightnessChanged
ScreenOrientationChanged ScreenOrientationChanged
SoftInputModeChanged SoftInputModeChanged
TitleChanged TitleChanged
TypeChanged TypeChanged
WrapContent WrapContent

Special value for the height or width requested by a View.

(Inherited from ViewGroup.LayoutParams)

Properties

Alpha Alpha

An alpha value to apply to this entire window.

ButtonBrightness ButtonBrightness

This can be used to override the standard behavior of the button and keyboard backlights.

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
ColorMode ColorMode
Creator Creator
DimAmount DimAmount

Android.Views.WindowManagerLayoutParams.FLAG_DIM_BEHIND

Flags Flags

Various behavioral options/flags.

Format Format

The desired bitmap format.

Gravity Gravity

Placement of window within the screen as per Gravity.

Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
Height Height

Information about how tall the view wants to be.

(Inherited from ViewGroup.LayoutParams)
HorizontalMargin HorizontalMargin

The horizontal margin, as a percentage of the container's width, between the container and the widget.

HorizontalWeight HorizontalWeight

Indicates how much of the extra space will be allocated horizontally to the view associated with these LayoutParams.

IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
LayoutAnimationParameters LayoutAnimationParameters

Used to animate layouts.

(Inherited from ViewGroup.LayoutParams)
MemoryType MemoryType
PackageName PackageName

Name of the package owning this window.

PeerReference PeerReference Inherited from Object
PreferredDisplayModeId PreferredDisplayModeId
PreferredRefreshRate PreferredRefreshRate

The preferred refresh rate for the window.

RotationAnimation RotationAnimation

Define the exit and entry animations used on this window when the device is rotated.

ScreenBrightness ScreenBrightness

This can be used to override the user's preferred brightness of the screen.

ScreenOrientation ScreenOrientation

Specific orientation value for a window.

SoftInputMode SoftInputMode

Desired operating mode for any soft input area.

SystemUiVisibility SystemUiVisibility

Control the visibility of the status bar.

ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Title Title
TitleFormatted TitleFormatted
Token Token

Identifier for this window.

Type Type

The general type of window.

VerticalMargin VerticalMargin

The vertical margin, as a percentage of the container's height, between the container and the widget.

VerticalWeight VerticalWeight

Indicates how much of the extra space will be allocated vertically to the view associated with these LayoutParams.

Width Width

Information about how wide the view wants to be.

(Inherited from ViewGroup.LayoutParams)
WindowAnimations WindowAnimations

A style resource defining the animations to use for this window.

X X

X position for this window.

Y Y

Y position for this window.

Methods

Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
CopyFrom(WindowManagerLayoutParams) CopyFrom(WindowManagerLayoutParams)
Debug(String) Debug(String)

Returns a String representation of this set of layout parameters.

DescribeContents() DescribeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
MayUseInputMethod(WindowManagerFlags) MayUseInputMethod(WindowManagerFlags)

Given a particular set of window manager flags, determine whether such a window may be a target for an input method when it has focus.

Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
ResolveLayoutDirection(LayoutDirection) ResolveLayoutDirection(LayoutDirection)

Resolve layout parameters depending on the layout direction.

(Inherited from ViewGroup.LayoutParams)
SetBaseAttributes(TypedArray, Int32, Int32) SetBaseAttributes(TypedArray, Int32, Int32)

Extracts the layout parameters from the supplied attributes.

(Inherited from ViewGroup.LayoutParams)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
WriteToParcel(Parcel, ParcelableWriteFlags) WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to