Comments (9)
I can reproduce it as well, at least on KitKat. I'm using 1.4.0 for the moment...
from materialtaptargetprompt.
Hi, thanks letting me know about the issue.
It looks like the issue is occurring due to changes made in d70026e, it is incorrectly applying the status bar height when it has already clipped the bounds to the activity.
I hope to have a fix out later today or tomorrow
from materialtaptargetprompt.
Changes released in v1.4.2, could you please confirm that these changes fix this issue?
from materialtaptargetprompt.
Using 1.4.2 on my gradle file I can still reproduce it on KitKat.
from materialtaptargetprompt.
The issue is effecting KitKat and lower
from materialtaptargetprompt.
Issue is the call to mClipToView.getLocationOnScreen(location);
in updateClipBounds()
.
It is correctly returning the views screen position from top on KitKat and lower. On Lollipop and newer this returns 0 all the time.
Working on fix for this
from materialtaptargetprompt.
Should be fixed now and released in v1.4.3. Found different way of retrieving the activity screen location. @joseluisametller and @grote could you both please confirm that this fixes the issue for you? I have tested it with Transportr on Kitkat and Nougat, so I have high hopes
from materialtaptargetprompt.
@sjwall I can confirm it is working perfectly fine on KitKat. Thanks a lot for your work :D
from materialtaptargetprompt.
@joseluisametller Thanks for confirming. Closing as issue has been fixed
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.