From 3b0b7f6d4852f8e772bc2df7087e5791c3e41a8b Mon Sep 17 00:00:00 2001 From: Emily Kager Date: Tue, 11 Jun 2019 14:21:27 -0700 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/2253 - Use toolbar as anchorView with fullscreen snackbar --- app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt b/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt index 55038ec568..f85ec2ba6a 100644 --- a/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt @@ -308,6 +308,7 @@ class BrowserFragment : Fragment(), BackHandler, CoroutineScope { ) { if (it) { FenixSnackbar.make(view.rootView, Snackbar.LENGTH_SHORT) + .setAnchorView(toolbarComponent.uiView.view) .setText(getString(R.string.full_screen_notification)) .show() activity?.enterToImmersiveMode()