Show bold search icon
This commit is contained in:
parent
9a2f23291d
commit
9984e586b4
1 changed files with 5 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ import android.preference.PreferenceScreen;
|
|||
import android.text.TextUtils;
|
||||
import android.util.TypedValue;
|
||||
import android.view.Gravity;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.WindowManager;
|
||||
import android.view.inputmethod.EditorInfo;
|
||||
|
|
@ -264,6 +265,10 @@ public abstract class BaseSearchViewController {
|
|||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
// Set bold icon if needed.
|
||||
MenuItem search = toolbar.getMenu().findItem(ID_ACTION_SEARCH);
|
||||
search.setIcon(getSearchIcon());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue