Presentations
public
final
class
Presentations
extends Object
java.lang.Object | |
↳ | android.service.autofill.Presentations |
Holds presentations used to visualize autofill suggestions for each available UI type.
See also:
Summary
Nested classes | |
---|---|
class |
Presentations.Builder
A builder for |
Public methods | |
---|---|
RemoteViews
|
getDialogPresentation()
The presentation used to visualize this field in the fill dialog UI. |
InlinePresentation
|
getInlinePresentation()
The |
InlinePresentation
|
getInlineTooltipPresentation()
The |
RemoteViews
|
getMenuPresentation()
The presentation used to visualize this field in fill UI. |
Inherited methods | |
---|---|
Public methods
getDialogPresentation
public RemoteViews getDialogPresentation ()
The presentation used to visualize this field in the fill dialog UI.
Theme does not work with RemoteViews layout. Avoid hardcoded text color or background color: Autofill on different platforms may have different themes.
Returns | |
---|---|
RemoteViews |
This value may be null . |
getInlinePresentation
public InlinePresentation getInlinePresentation ()
The InlinePresentation
used to visualize this dataset as inline suggestions.
If the dataset supports inline suggestions, this should not be null.
Returns | |
---|---|
InlinePresentation |
getInlineTooltipPresentation
public InlinePresentation getInlineTooltipPresentation ()
The InlinePresentation
used to show the tooltip for the
mInlinePresentation
. If the set this field, the
mInlinePresentation
should not be null.
Returns | |
---|---|
InlinePresentation |
getMenuPresentation
public RemoteViews getMenuPresentation ()
The presentation used to visualize this field in fill UI.
Theme does not work with RemoteViews layout. Avoid hardcoded text color or background color: Autofill on different platforms may have different themes.
Returns | |
---|---|
RemoteViews |
This value may be null . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier! Saves Data!
--- a PPN by Garber Painting Akron. With Image Size Reduction included!
Fetched URL: http://developer.android.com/reference/android/service/autofill/Presentations
Alternative Proxies: