共用方式為


VoiceInteractionSession.Insets.ContentInsets Property

Definition

This is the part of the UI that is the main content.

[Android.Runtime.Register("contentInsets", ApiSince=23)]
public Android.Graphics.Rect ContentInsets { get; set; }
[<Android.Runtime.Register("contentInsets", ApiSince=23)>]
member this.ContentInsets : Android.Graphics.Rect with get, set

Property Value

Attributes

Remarks

This is the part of the UI that is the main content. It is used to determine the basic space needed, to resize/pan the application behind. It is assumed that this inset does not change very much, since any change will cause a full resize/pan of the application behind. This value is relative to the top edge of the input method window.

Java documentation for android.service.voice.VoiceInteractionSession.Insets.contentInsets.

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