Android.InputMethodServices.InputMethodService.MaxWidth Property
Return the maximum width, in pixels, available the input method.

Syntax

[get: Android.Runtime.Register("getMaxWidth", "()I", "GetGetMaxWidthHandler")]
public virtual int MaxWidth { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Return the maximum width, in pixels, available the input method. Input methods are positioned at the bottom of the screen and, unless running in fullscreen, will generally want to be as short as possible so should compute their height based on their contents. However, they can stretch as much as needed horizontally. The function returns to you the maximum amount of space available horizontally, which you can use if needed for UI placement.

In many cases this is not needed, you can just rely on the normal view layout mechanisms to position your views within the full horizontal space given to the input method.

Note that this value can change dynamically, in particular when the screen orientation changes.

[Android Documentation]

Requirements

Namespace: Android.InputMethodServices
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3