-
Notifications
You must be signed in to change notification settings - Fork 387
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
createCircularReveal makes square reveal on API16 #114
Comments
Hi fellow, It feels like you may using setOutlineProvider on new API, if so this causes a problem. If it is not an answer to your question. Could your provide sample app, so i could investigate on this issues. Thanks ;) |
I got the same on a Samsung Galaxy S4 Mini running version 4.4.2 (KitKat). On the contrary the animation works fine on a Nexus 4 emulator running version 4.4. I have not explicitly used "setOutlineProvider" at least. Here's my code for starting the reveal animation:
|
I also have this problem in API < 19. I just copy/paste the example in README.md. I was solved by changing layerType to Software in root layout (RevealViewGroup) |
True, hardware acceleration might be root of this issue |
Description of the problem:
I've been using the library since 1.3.1
I figured I'd try updating to the latest version today, so I updated it to 2.0.1, tweaked the code so it works with the new APIs (looks like you use a native Animator instead of the included SupportAnimator now), and it worked fine when I tested it on a Pixel with API26 (Oreo), but my app is backwards compatible to API16 (Jellybean), and the circular reveal seems to turn into a square now. I reverted back and it works on 1.3.1, but not with 2.0.1
Which library version are you using?
2.0.1
Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5,
Android 5.0)
Nexus 4, Android 4.2.2, stock
Does the same happen on other devices or an emulator?
Yes
Can you reproduce the issue in the sample project included with the library? If not, can you
provide your own sample project or sample code that produces this error?
Also worth noting, I Googled the issue and found at least one other person running into this from May 8th:
https://stackoverflow.com/questions/28544800/create-circular-reveal-for-pre-lollipop-devices-android#comment74732182_28604515
The text was updated successfully, but these errors were encountered: