diff --git a/app/src/main/java/org/mozilla/focus/fragment/UrlInputFragment.kt b/app/src/main/java/org/mozilla/focus/fragment/UrlInputFragment.kt index 636935a34d5..97d388c9be1 100644 --- a/app/src/main/java/org/mozilla/focus/fragment/UrlInputFragment.kt +++ b/app/src/main/java/org/mozilla/focus/fragment/UrlInputFragment.kt @@ -312,7 +312,12 @@ class UrlInputFragment : if (isOverlay) { keyboardLinearLayout?.visibility = View.GONE } else { - backgroundView?.setBackgroundResource(R.drawable.background_gradient) + val backgroundId = if (FeatureFlags.isMvp) { + R.drawable.dark_background + } else { + R.drawable.background_gradient + } + backgroundView?.setBackgroundResource(backgroundId) dismissView?.visibility = View.GONE diff --git a/app/src/main/res/drawable-land/dark_background.xml b/app/src/main/res/drawable-land/dark_background.xml new file mode 100644 index 00000000000..bb26ef4d72b --- /dev/null +++ b/app/src/main/res/drawable-land/dark_background.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/dark_background.xml b/app/src/main/res/drawable/dark_background.xml new file mode 100644 index 00000000000..f5eed091a1a --- /dev/null +++ b/app/src/main/res/drawable/dark_background.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + +