SearchView.QueryHintFormatted Proprietà

Definizione

Restituisce il testo dell'hint che verrà visualizzato nel campo di testo della query.

public virtual Java.Lang.ICharSequence? QueryHintFormatted { [Android.Runtime.Register("getQueryHint", "()Ljava/lang/CharSequence;", "GetGetQueryHintHandler")] get; }
[<get: Android.Runtime.Register("getQueryHint", "()Ljava/lang/CharSequence;", "GetGetQueryHintHandler")>]
member this.QueryHintFormatted : Java.Lang.ICharSequence

Valore della proprietà

testo dell'hint per la query visualizzato o null se non è impostato

Attributi

Commenti

Restituisce il testo dell'hint che verrà visualizzato nel campo di testo della query.

L'hint per la query visualizzato viene scelto nell'ordine seguente: ol>li Non-null value set with<#setQueryHint(CharSequence) li>Value specified in XML using android.R.styleable#SearchView_queryHint android:queryHint<li>Valid string resource ID exposed by the SearchableInfo via<SearchableInfo#getHintId() li>Default hint provided by the theme with the view was inflated </ol><<>

per android.widget.SearchView.getQueryHint().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a