[Search] Apply background to entire SearchInput view instead of just EditText

Bug: 199555357
Test: visual
Change-Id: Ice966416e901e7c601b44529d0422798e943e222
This commit is contained in:
Samuel Fufa
2021-09-10 15:58:04 -07:00
parent 9874b5d68b
commit 47f80b5c9a
3 changed files with 16 additions and 20 deletions
@@ -48,6 +48,19 @@ public interface SearchUiManager {
@Nullable
ExtendedEditText getEditText();
/**
* Sets whether EditText background should be visible
* @param maxAlpha defines the maximum alpha the background should animates to
*/
default void setBackgroundVisibility(boolean visible, float maxAlpha) {}
/**
* Returns whether a visible background is set on EditText
*/
default boolean getBackgroundVisibility() {
return false;
}
/**
* sets highlight result's title
*/