Comments (7)
I shall investigate and see what I can do to fix it
from materialtaptargetprompt.
This should be fixed in release v1.6.1. Please let me know how you get on with it :)
from materialtaptargetprompt.
Nope.. 1.6.1 also didn't help
from materialtaptargetprompt.
Could you please provide more detail on the following so that I can try and replicate it better:
- How you are targeting the actionmode
setTarget(View)
? - What actionmode you are using: Android, support library or custom?
- How are you creating the actionmode?
- What version of Android?
Thanks
from materialtaptargetprompt.
-
Setting target by --- setTarget(findViewById(R.id.menu_next))
-
using action mode - support library-v7
-
creating actionmode on listview selections
if (hasCheckedElement && mode == null)
// there are some selected items, start the actionMode
mode = startSupportActionMode(new ModeCallback()); -
Tested it on my Android 5.0 and 4.2.2
from materialtaptargetprompt.
I have changed the example to use findViewById
but I am still unable to replicate.
You could try wrapping the prompt creation in a post
like below. The support ActionMode
uses this as well. If the post
fixes the issue for you I will add it into the library (I need to do some more research but I think it should be doing this anyway).
getWindow().getDecorView().post(new Runnable() {
@Override
public void run() {
// Create prompt here
}
});
You could also try running the sample app (cloning or from the play store) and seeing if that has the issue and if it has any differences to your implementation.
Let me know if this helps
from materialtaptargetprompt.
No response for a month so assuming that your question has been answered. Please reopen if not
from materialtaptargetprompt.
Related Issues (20)
- Display multiple prompt target and go them step by step HOT 1
- Change opacity of background HOT 1
- NullPointerException at onAnimationEnd(MaterialTapTargetPrompt.java:529) on some devices running Android 6.0 HOT 1
- Bintray is closing any plans to publish somewher else? HOT 1
- java.lang.NullPointerException: at android.graphics.Typeface.create (Typeface.java:849) HOT 6
- JCenter shuts down in May HOT 4
- Crash on OnePlus IN2021: java.lang.NullPointerException: Attempt to read from field 'boolean android.graphics.Path.isSimplePath' on a null object reference HOT 1
- How to set target for Toolbar overflow menu HOT 1
- Jetpack Compose HOT 5
- How to adjust the spacing of secondary text lines? HOT 1
- 3.3.1 update causes text to render weirdly with alpha effected by view background HOT 4
- Please how I can use it for multiple buttons HOT 1
- Show on an android.app.Dialog HOT 8
- java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)'
- Localisation is not working in these promts.
- Sequence keep repeating in viewpager2
- The text is incorrectly positioned.
- Prompt not showing on dynamically created view
- How we can add multiple target on it. HOT 1
- Fatal Exception: java.lang.NullPointerException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialtaptargetprompt.