Share via


InlinePresentationSpec.Style Property

Definition

The extras encoding the UI style information.

public Android.OS.Bundle Style { [Android.Runtime.Register("getStyle", "()Landroid/os/Bundle;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getStyle", "()Landroid/os/Bundle;", "", ApiSince=30)>]
member this.Style : Android.OS.Bundle

Property Value

Attributes

Remarks

The extras encoding the UI style information.

The style bundles can be created using the relevant Style classes and their builders in the androidx autofill library e.g. androidx.autofill.inline.UiVersions.StylesBuilder.

The style must be set for the suggestion to render properly.

Note: There should be no remote objects in the bundle, all included remote objects will be removed from the bundle before transmission.

Java documentation for android.widget.inline.InlinePresentationSpec.getStyle().

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