We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So i put on an overlay with some items and it goes over my navigation:
private fun spotlightView(view: View , ) { val overlay = layoutInflater.inflate(R.layout.fragment_calendar_day_detailed_info, context?.let { FrameLayout(it) }) val target = Target.Builder() .setAnchor(view) .setOverlay(overlay) .isClickable(false) .setShape(RoundedRectangle(view.height.toFloat(), view.width.toFloat(), 0f)) .setOnTargetListener( object : OnTargetListener { override fun onEnded() {} override fun onStarted() {} }).build()
val spotlight = activity?.let { activity -> Spotlight.Builder(activity) .setTargets(target) .setBackgroundColor(R.color.spotlightBackground) .setDuration(1000L) .setAnimation(DecelerateInterpolator(2f)) .setOnSpotlightListener(object : OnSpotlightListener { override fun onStarted() {} override fun onEnded() {} }) .build() } spotlight?.start()
I would love the help :D
The text was updated successfully, but these errors were encountered:
Facing the same
Sorry, something went wrong.
ViewGroup viewGroup = mActivity.getWindow().getDecorView().findViewById(android.R.id.content);| use this container
No branches or pull requests
So i put on an overlay with some items and it goes over my navigation:
private fun spotlightView(view: View , ) {
val overlay = layoutInflater.inflate(R.layout.fragment_calendar_day_detailed_info,
context?.let { FrameLayout(it) })
val target =
Target.Builder()
.setAnchor(view)
.setOverlay(overlay)
.isClickable(false)
.setShape(RoundedRectangle(view.height.toFloat(), view.width.toFloat(), 0f))
.setOnTargetListener(
object : OnTargetListener {
override fun onEnded() {}
override fun onStarted() {}
}).build()
I would love the help :D
The text was updated successfully, but these errors were encountered: