Android.Views.Window: Method Members

The methods of Android.Views.Window are listed below. For a list of all members, see the Window Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

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) : View
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) : T
Documentation for this section has not yet been entered.
HasFeature(WindowFeatures) : bool
Query for the availability of a certain feature.
InjectInputEvent(InputEvent)
Inject an event to window locally.
abstract
InvalidatePanelMenu(WindowFeatures)
abstract
IsShortcutKey(Keycode, KeyEvent) : bool
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() : View
Retrieve the current decor view, but only if it has already been created; otherwise returns null.
abstract
PerformContextMenuIdentifierAction(int, MenuPerformFlags) : bool
abstract
PerformPanelIdentifierAction(int, int, MenuPerformFlags) : bool
abstract
PerformPanelShortcut(int, Keycode, KeyEvent, MenuPerformFlags) : bool
RequestFeature(WindowFeatures) : bool
Enable extended screen features.
abstract
RestoreHierarchyState(Android.OS.Bundle)
abstract
SaveHierarchyState() : Android.OS.Bundle
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) : bool
Used by custom windows, such as Dialog, to pass the generic motion event further down the view hierarchy.
abstract
SuperDispatchKeyEvent(KeyEvent) : bool
Used by custom windows, such as Dialog, to pass the key press event further down the view hierarchy.
abstract
SuperDispatchKeyShortcutEvent(KeyEvent) : bool
Used by custom windows, such as Dialog, to pass the key shortcut press event further down the view hierarchy.
abstract
SuperDispatchTouchEvent(MotionEvent) : bool
Used by custom windows, such as Dialog, to pass the touch screen event further down the view hierarchy.
abstract
SuperDispatchTrackballEvent(MotionEvent) : bool
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)

Protected Methods

abstract
OnActive()
SetDefaultWindowFormat(int)
Set the default format of window, as per the PixelFormat types.