The members of Android.Views.Window are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | IdAndroidContent | int (16908290). The ID that the main layout in the XML layout file should have. |
const | NavigationBarBackgroundTransitionName | string. The transitionName for the navigation bar background View when a custom background is used. |
const | ProgressEnd | WindowProgress (10000). Ending value for the (primary) progress |
const | ProgressIndeterminateOff | WindowProgress (-4). Flag for setting the progress bar's indeterminate mode off |
const | ProgressIndeterminateOn | WindowProgress (-3). Flag for setting the progress bar's indeterminate mode on |
const | ProgressSecondaryEnd | WindowProgress (30000). Highest possible value for the secondary progress |
const | ProgressSecondaryStart | WindowProgress (20000). Lowest possible value for the secondary progress |
const | ProgressStart | WindowProgress (0). Starting value for the (primary) progress |
const | ProgressVisibilityOff | WindowProgress (-2). Flag for setting the progress bar's visibility to GONE |
const | ProgressVisibilityOn | WindowProgress (-1). Flag for setting the progress bar's visibility to VISIBLE |
const | StatusBarBackgroundTransitionName | string. The transitionName for the status bar background View when a custom background is used. |
AllowEnterTransitionOverlap | bool. Returns how the transition set in Window.EnterTransition overlaps with the exit transition of the calling Activity. | |
AllowReturnTransitionOverlap | bool. Returns how the transition set in Window.ExitTransition overlaps with the exit transition of the called Activity when reentering after if finishes. | |
Attributes | WindowManagerLayoutParams. Retrieve the current window attributes associated with this panel. | |
Callback | Window.ICallback. Return the current Callback interface for this window. | |
Container | Window. Return the container for this Window. | |
[read-only] | ContentScene | Android.Transitions.Scene. Retrieve the Android.Transitions.Scene representing this window's current content. |
[read-only] | Context | Android.Content.Context. Return the Context this window policy is running in, for retrieving resources and other information. |
[read-only] abstract | CurrentFocus | View. Return the view in this Window that currently has focus, or null if there are none. |
[read-only] abstract | DecorView | View. Retrieve the top-level window decor view (containing the standard window frame/decorations and the client's content inside of that), which can be added as a window to the window manager. |
EnterTransition | Android.Transitions.Transition. Returns the transition used to move Views into the initial scene. | |
ExitTransition | Android.Transitions.Transition. Returns the Transition that will be used to move Views out of the scene when starting a new Activity. | |
[read-only] | HasChildren | bool. |
[read-only] | IsActive | bool. |
[read-only] abstract | IsFloating | bool. Return whether this window is being displayed with a floating style (based on the NoType:android/R$attr;Href=../../../reference/android/R.attr.html#windowIsFloating attribute in the style/theme). |
[read-only] abstract | LayoutInflater | LayoutInflater. Quick access to the Android.Views.LayoutInflater instance that this Window retrieved from its Context. |
MediaController | Android.Media.Session.MediaController. Gets the Android.Media.Session.MediaController that was previously set. | |
abstract | NavigationBarColor | Android.Graphics.Color. |
ReenterTransition | Android.Transitions.Transition. Returns the Transition that will be used to move Views in to the scene when returning from a previously-started Activity. | |
ReturnTransition | Android.Transitions.Transition. Returns he Transition that will be used to move Views out of the scene when the Window is preparing to close, for example after a call to Android.App.Activity.FinishAfterTransition. | |
SharedElementEnterTransition | Android.Transitions.Transition. Returns the Transition that will be used for shared elements transferred into the content Scene. | |
SharedElementExitTransition | Android.Transitions.Transition. Returns the Transition to use for shared elements in the launching Window prior to transferring to the launched Activity's Window. | |
SharedElementReenterTransition | Android.Transitions.Transition. Returns the Transition that will be used for shared elements reentering from a started Activity after it has returned the shared element to it start location. | |
SharedElementReturnTransition | Android.Transitions.Transition. Returns the Transition that will be used for shared elements transferred back to a calling Activity. | |
SharedElementsUseOverlay | bool. Returns true when shared elements should use an Overlay during shared element transitions or false when they should animate as part of the normal View hierarchy. | |
abstract | StatusBarColor | Android.Graphics.Color. |
TransitionBackgroundFadeDuration | long. Returns the duration, in milliseconds, of the window background fade when transitioning into or away from an Activity when called with an Activity Transition. | |
TransitionManager | Android.Transitions.TransitionManager. Retrieve the Android.Transitions.TransitionManager responsible for for default transitions in this window. | |
abstract | VolumeControlStream | Android.Media.Stream. |
[read-only] | WindowManager | IWindowManager. Return the window manager allowing this Window to display its own windows. |
[read-only] | WindowStyle | Android.Content.Res.TypedArray. Return the NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#Window attributes from this window's theme. |
[read-only] | Features | int. Return the feature bits that are enabled. |
[read-only] | ForcedWindowFlags | int. Return the window flags that have been explicitly set by the client, so will not be modified by Window.DecorView. |
[read-only] | HasSoftInputMode | bool. Has the app specified their own soft input mode? |
[read-only] | LocalFeatures | int. Return the feature bits that are being implemented by this Window. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
abstract | AddContentView(View, ViewGroup.LayoutParams)Variation on Window.SetContentView(View, .LayoutParams) to add an additional content view to the screen. | |
AddFlags(WindowManagerFlags)Convenience function to set the flag bits as specified in flags, as per Window.SetFlags(WindowManagerFlags, Android.Views.WindowManagerFlags). | ||
ClearFlags(WindowManagerFlags)Convenience function to clear the flag bits as specified in flags, as per Window.SetFlags(WindowManagerFlags, Android.Views.WindowManagerFlags). | ||
abstract | CloseAllPanels() | |
abstract | ClosePanel(int) | |
FindViewById(int)Finds a view that was identified by the id attribute from the XML that was processed in Android.App.Activity.OnCreate(Android.OS.Bundle). | ||
FindViewById<T>(int)Documentation for this section has not yet been entered. | ||
HasFeature(WindowFeatures)Query for the availability of a certain feature. | ||
InjectInputEvent(InputEvent)Inject an event to window locally. | ||
abstract | InvalidatePanelMenu(WindowFeatures) | |
abstract | IsShortcutKey(Keycode, KeyEvent)Is a keypress one of the defined shortcut keys for this window. | |
MakeActive() | ||
abstract | OnConfigurationChanged(Android.Content.Res.Configuration)Should be called when the configuration is changed. | |
abstract | OpenPanel(int, KeyEvent) | |
abstract | PeekDecorView()Retrieve the current decor view, but only if it has already been created; otherwise returns null. | |
abstract | PerformContextMenuIdentifierAction(int, MenuPerformFlags) | |
abstract | PerformPanelIdentifierAction(int, int, MenuPerformFlags) | |
abstract | PerformPanelShortcut(int, Keycode, KeyEvent, MenuPerformFlags) | |
RequestFeature(WindowFeatures)Enable extended screen features. | ||
abstract | RestoreHierarchyState(Android.OS.Bundle) | |
abstract | SaveHierarchyState() | |
abstract | SetBackgroundDrawable(Android.Graphics.Drawables.Drawable)Change the background of this window to a custom Drawable. | |
SetBackgroundDrawableResource(int)Change the background of this window to a Drawable resource. | ||
abstract | SetChildDrawable(int, Android.Graphics.Drawables.Drawable) | |
abstract | SetChildInt(int, int) | |
abstract | SetContentView(View)Convenience for Window.SetContentView(View, .LayoutParams) set the screen content to an explicit view. | |
abstract | SetContentView(int)Convenience for Window.SetContentView(View, .LayoutParams) to set the screen content from a layout resource. | |
abstract | SetContentView(View, ViewGroup.LayoutParams)Set the screen content to an explicit view. | |
SetDimAmount(float)Set the amount of dim behind the window when using WindowManagerLayoutParams.FLAG_DIM_BEHIND. | ||
abstract | SetFeatureDrawable(WindowFeatures, Android.Graphics.Drawables.Drawable)Set an explicit Drawable value for feature of this window. | |
abstract | SetFeatureDrawableAlpha(WindowFeatures, int)Set a custom alpha value for the given drawale feature, controlling how much the background is visible through it. | |
abstract | SetFeatureDrawableResource(WindowFeatures, int)Set the value for a drawable feature of this window, from a resource identifier. | |
abstract | SetFeatureDrawableUri(WindowFeatures, Android.Net.Uri)Set the value for a drawable feature of this window, from a URI. | |
abstract | SetFeatureInt(WindowFeatures, int)Set the integer value for a feature. | |
SetFlags(WindowManagerFlags, WindowManagerFlags)Set the flags of the window, as per the Android.Views.WindowManagerLayoutParams flags. | ||
SetFormat(Android.Graphics.Format)Set the format of window, as per the PixelFormat types. | ||
SetGravity(GravityFlags)Set the gravity of the window, as per the Gravity constants. | ||
SetIcon(int)Set the primary icon for this window. | ||
SetLayout(int, int)Set the width and height layout parameters of the window. | ||
SetLocalFocus(bool, bool)Set focus locally. | ||
SetLogo(int)Set the logo for this window. | ||
SetSoftInputMode(SoftInput)Specify an explicit soft input mode to use for the window, as per WindowManagerLayoutParams.SoftInputMode. | ||
abstract | SetTitle(Java.Lang.ICharSequence) | |
SetTitle(string)Documentation for this section has not yet been entered. | ||
abstract | SetTitleColor(Android.Graphics.Color) | |
SetType(WindowManagerTypes)Set the type of the window, as per the WindowManager. | ||
SetUiOptions(Android.Content.PM.UiOptions)Set extra options that will influence the UI for this window. | ||
SetUiOptions(Android.Content.PM.UiOptions, Android.Content.PM.UiOptions)Set extra options that will influence the UI for this window. | ||
SetWindowAnimations(int)Specify custom animations to use for the window, as per WindowManagerLayoutParams.WindowAnimations. | ||
SetWindowManager(IWindowManager, Android.OS.IBinder, string)Set the window manager for use by this Window to, for example, display panels. | ||
SetWindowManager(IWindowManager, Android.OS.IBinder, string, bool)Set the window manager for use by this Window to, for example, display panels. | ||
abstract | SuperDispatchGenericMotionEvent(MotionEvent)Used by custom windows, such as Dialog, to pass the generic motion event further down the view hierarchy. | |
abstract | SuperDispatchKeyEvent(KeyEvent)Used by custom windows, such as Dialog, to pass the key press event further down the view hierarchy. | |
abstract | SuperDispatchKeyShortcutEvent(KeyEvent)Used by custom windows, such as Dialog, to pass the key shortcut press event further down the view hierarchy. | |
abstract | SuperDispatchTouchEvent(MotionEvent)Used by custom windows, such as Dialog, to pass the touch screen event further down the view hierarchy. | |
abstract | SuperDispatchTrackballEvent(MotionEvent)Used by custom windows, such as Dialog, to pass the trackball event further down the view hierarchy. | |
abstract | TakeInputQueue(InputQueue.ICallback)Take ownership of this window's InputQueue. | |
abstract | TakeKeyEvents(bool)Request that key events come to this activity. | |
abstract | TakeSurface(ISurfaceHolderCallback2)Take ownership of this window's surface. | |
abstract | TogglePanel(int, KeyEvent) |
abstract | OnActive() | |
SetDefaultWindowFormat(int)Set the default format of window, as per the PixelFormat types. |