How to change searchview property to change searchview design

For SearchView : -

android:textColorSecondary applies to the close icon

android:textColorPrimary applies to the text you enter

colorControlActivated applies to the cursor

android:textColorHint applies to the hint text

 <!-- Background for the search query section (e.g. EditText) -->
    <item name="queryBackground">...</item>
    <!-- Background for the actions section (e.g. voice, submit) -->
    <item name="submitBackground">...</item>
    <!-- Close button icon -->
    <item name="closeIcon">...</item>
    <!-- Search button icon -->
    <item name="searchIcon">...</item>
    <!-- Go/commit button icon -->
    <item name="goIcon">...</item>
    <!-- Voice search button icon -->
    <item name="voiceIcon">...</item>
    <!-- Commit icon shown in the query suggestion row -->
    <item name="commitIcon">...</item>
    <!-- Layout for query suggestion rows -->
    <item name="suggestionRowLayout">...</item>

Comments

Popular posts from this blog

How to Fix ‘This file name is too long’ Error?

Library To Load Html Content In Android TextView in Android

How to send firebase push notification