Udostępnij za pośrednictwem


InputMethodService.Insets.VisibleTopInsets Property

Definition

This is the top part of the UI that is visibly covering the application behind it.

[Android.Runtime.Register("visibleTopInsets")]
public int VisibleTopInsets { get; set; }
[<Android.Runtime.Register("visibleTopInsets")>]
member this.VisibleTopInsets : int with get, set

Property Value

Attributes

Remarks

This is the top part of the UI that is visibly covering the application behind it. This provides finer-grained control over visibility, allowing you to change it relatively frequently (such as hiding or showing candidates) without disrupting the underlying UI too much. For example, this will never resize the application UI, will only pan if needed to make the current focus visible, and will not aggressively move the pan position when this changes unless needed to make the focus visible. This value is relative to the top edge of the input method window.

Java documentation for android.inputmethodservice.InputMethodService.Insets.visibleTopInsets.

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.

Applies to