TabSearch

class TabSearch(@StringRes val hint: Int)(source)

A search field in a tab's app bar, where the title would be.

The field is part of the shell's app bar, so moving to the tab only crossfades the title into the field: the navigation button, the bar and its height stay exactly where they were. The query lives in the shell; the tab reads it from com.mihaicristiancondrea.android.libs.apptoolkit.navigation.LocalShellSearch. Back clears a query before it does anything else.

Constructors

Link copied to clipboard
constructor(@StringRes hint: Int)

Properties

Link copied to clipboard
val hint: Int