-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
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
Unable to set Spotlight view on Actionbar menu item #78
Comments
@RupinSahu did you happen to have a work around on this? i am also having same issue. |
Not yet but will work on soon
With regards,
Rupin Sahu
…On 07-Mar-2018 2:09 PM, "MarvinOpo" ***@***.***> wrote:
@RupinSahu <https://github.com/rupinsahu> did you happen to have a work
around on this? i am also having same issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfCNz97itmAZLiBip9JDRssoxHSjOY2Fks5tb5ypgaJpZM4RmWh8>
.
|
This works for me (of course w/ your Spotlight lib!): https://stackoverflow.com/a/33337827/810944 |
Hello, first answer from this question works for me for Item menu :) https://stackoverflow.com/questions/10397613 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello Wooplr,
I am trying to set spotlightview on action bar menu item which is a delete option but spotlight throws an exception.
01-22 14:22:25.855 5652-5652/fwt_android. W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.getLocationInWindow(int[])' on a null object reference 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at com.wooplr.spotlight.target.ViewTarget.getPoint(ViewTarget.java:23) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at com.wooplr.spotlight.shape.Circle.getFocusPoint(Circle.java:36) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at com.wooplr.spotlight.shape.Circle.<init>(Circle.java:24) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at com.wooplr.spotlight.SpotlightView$Builder.build(SpotlightView.java:1082) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at com.wooplr.spotlight.SpotlightView$Builder.show(SpotlightView.java:1091) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at com.wooplr.spotlight.utils.SpotlightSequence.startSequence(SpotlightSequence.java:123) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at fwt_android.commons.ClsConstant.introSpotLight(ClsConstant.java:138) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at fwt_android.activities.ActivityDetail.UI_Reference(ActivityDetail.java:207) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at fwt_android.activities.ActivityDetail.onCreate(ActivityDetail.java:126) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at android.app.Activity.performCreate(Activity.java:6237) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at android.app.ActivityThread.-wrap11(ActivityThread.java) 01-22 14:22:25.855 5652-5652/fwt_android W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 01-22 14:22:25.856 5652-5652/fwt_android W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102) 01-22 14:22:25.856 5652-5652/fwt_android W/System.err: at android.os.Looper.loop(Looper.java:148) 01-22 14:22:25.856 5652-5652/fwt_android W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5417) 01-22 14:22:25.856 5652-5652/fwt_android W/System.err: at java.lang.reflect.Method.invoke(Native Method) 01-22 14:22:25.856 5652-5652/fwt_android W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 01-22 14:22:25.856 5652-5652/fwt_android W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Can you please guide how to do it through your Spotlight view.What I am doing is -
The text was updated successfully, but these errors were encountered: