Table of Contents

Class XuiUI

Namespace
Xui.Runtime.Android.Actual
Assembly
Xui.Runtime.Android.dll
public class XuiUI : View, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, IJavaObject, IJavaPeerable, IDisposable
Inheritance
XuiUI
Implements
Inherited Members

Constructors

XuiUI(XuiActivity)

public XuiUI(XuiActivity xuiActivity)

Parameters

xuiActivity XuiActivity

Fields

xuiActivity

protected readonly XuiActivity xuiActivity

Field Value

XuiActivity

Methods

OnDraw(Canvas)

Implement this to do your drawing.

protected override void OnDraw(Canvas canvas)

Parameters

canvas Canvas

the canvas on which the background will be drawn

Remarks

Implement this to do your drawing.

Java documentation for

android.view.View.onDraw(android.graphics.Canvas)
.

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.

OnSizeChanged(int, int, int, int)

This is called during layout when the size of this view has changed.

protected override void OnSizeChanged(int w, int h, int oldw, int oldh)

Parameters

w int

Current width of this view.

h int

Current height of this view.

oldw int

Old width of this view.

oldh int

Old height of this view.

Remarks

This is called during layout when the size of this view has changed. If you were just added to the view hierarchy, you're called with the old values of 0.

Java documentation for

android.view.View.onSizeChanged(int, int, int, int)
.

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.