{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

SearchBarColors

@ExperimentalMaterial3Api
public final class SearchBarColors


Represents the colors used by a search bar in different states.

See SearchBarDefaults.colors for the default implementation that follows Material specifications.

Summary

Public methods

boolean
equals(Object other)
final @NonNull Color
final @NonNull Color
final @NonNull TextFieldColors
int

Public methods

equals

public boolean equals(Object other)

getContainerColor

public final @NonNull Color getContainerColor()

getDividerColor

public final @NonNull Color getDividerColor()

getInputFieldColors

public final @NonNull TextFieldColors getInputFieldColors()

hashCode

public int hashCode()