1
0
Fork 0

For #7347: Fixes background of search field

master
Sawyer Blatz 2019-12-23 12:12:10 -05:00 committed by Jeff Boek
parent 4fd3eb53d1
commit faa4136685
1 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,7 @@ import org.mozilla.fenix.R
import org.mozilla.fenix.ext.getColorFromAttr
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.search.SearchFragmentState
import org.mozilla.fenix.theme.ThemeManager
/**
* Interface for the Toolbar Interactor. This interface is implemented by objects that want
@ -93,7 +94,10 @@ class ToolbarView(
false
}
background = null
background =
AppCompatResources.getDrawable(
container.context, ThemeManager.resolveAttribute(R.attr.foundation, context)
)
layoutParams.height = CoordinatorLayout.LayoutParams.MATCH_PARENT