You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sneaker appears differently from Activity and Fragment like below.
In Activity, it comes from the toolbar but in the fragment, it comes from the bottom of the toolbar.
The images are from different devices but it shows the same behavior with other devices as well.
I want both of them comes from the bottom of the toolbar as Fragment did.
Here is the AppTheme, its given in Android manifest and I didn't give any other theme to Activity.
you can fix this in Sneaker
private fun setTargetView(targetView: Any) {
this.targetView =
when (targetView) {
is Activity -> {
isActivity = true
targetView.window?.decorView as ViewGroup
}
is Fragment -> targetView.requireActivity().window?.decorView as ViewGroup
is ViewGroup -> targetView
else -> null
}
}
Hi,
Sneaker appears differently from Activity and Fragment like below.
In Activity, it comes from the toolbar but in the fragment, it comes from the bottom of the toolbar.
The images are from different devices but it shows the same behavior with other devices as well.
I want both of them comes from the bottom of the toolbar as Fragment did.
Here is the AppTheme, its given in Android manifest and I didn't give any other theme to Activity.
Here how I show the error message, same code for both
In Activity, FrameLayout at higher hierarchy
In Activity of Fragment,
and in Fragment, XML has also FrameLayout at higher hierarchy
Activity Screenshot
Fragment Screenshot
The text was updated successfully, but these errors were encountered: