Comments (9)
Thanks for the question @smallmonk
Can you please provide more context?
Which device are you using for testing? Which API level/Android version is using?
Are you able to reproduce this on a emulator?
from slidetoact.
Attached please find the Huawei Nova 2i specification which I have used for testing. Interestingly, I am unable to replicate the issue on the emulator with the same screen size (1080x2160) with API 26 (Android 8.0.0)
from slidetoact.
I am unable to replicate the issue on the emulator with the same screen size (1080x2160) with API 26 (Android 8.0.0)
Seems like a device-related issue? I'd suggest we keep this issue open and see if we have reports from other devices. Ideally having a scenario where I could reproduce the issue would be great
from slidetoact.
Thanks for investigation.
I have doubt on the purpose to include a blank image "slidetoact/tree/master/slidetoact/src/main/res/drawable-v25/slidetoact_ic_check.xml" in the project. What is your thought?
from slidetoact.
I have doubt on the purpose to include a blank image "slidetoact/tree/master/slidetoact/src/main/res/drawable-v25/slidetoact_ic_check.xml" in the project. What is your thought?
That's actually not a blank image. Is a vector drawable with the android:trimPathEnd="0"
. That's the reason why you see it blank.
The trimPathEnd
property is animated with an animated vector drawable to have the tick drawing effect. Due to some bugs with the Support Library, I had to include a fallback on API levels before 25 (N). The fallback is just showing the checkmark fading in the screen.
It should probably be revised to see if the bug is still there in one of the latest version of the Support Library.
from slidetoact.
video.zip
Hi @cortinico , I facing the same issue, attached video for your reference.
And OnSlideCompleteListener doesn't call after slide.
from slidetoact.
Hi @cortinico , I facing the same issue, attached video for your reference.
Thanks for the reference. Is it happening on every device?
And OnSlideCompleteListener doesn't call after slide.
Please open another issue
from slidetoact.
Its happening for me too. I noticed that the check icon only appears when: i lock my phone, unlock it and its there. Sorry if information is not enough. Still learning. Device is huawei p20, Android 10. I tested it on emulator pixel 2 with api 26, it works fine.
from slidetoact.
Thanks for the reference. Is it happening on every device?
No , but sorry i cant provide enough information because this reported by the client who using production app. I din face this problem during development.
from slidetoact.
Related Issues (20)
- Is there a loading state for this button? Any workarounds? HOT 1
- How to slide progrmatically? HOT 1
- Is there any way to programatically slide this slidetoact slider button? HOT 2
- how to set text align to be show center (excluding the slider_icon area) HOT 1
- Possibility to fill slider while dragging HOT 1
- 0.10.0 version changed the look of my button HOT 1
- Allow slider icon to be animated HOT 4
- Bounce effect feature request HOT 2
- Help bump to compileSdk 33 HOT 5
- Not able to set custom font and inner icon not visible HOT 7
- Disabled state HOT 3
- Complete animation triggered twice HOT 1
- Coloring swipe button makes grey line under text HOT 3
- Crash on android 4.4.4 HOT 5
- Bounce is not released yet? HOT 2
- border_radius not working in 'com.ncorti:slidetoact:0.10.0' HOT 6
- Unable to automate the custom view that is implemented from slide to act using Appium HOT 1
- Unable to automate the custom view that is implemented from slide to act using Appium HOT 2
- Drawable as background HOT 1
- Border Color and Width HOT 4
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 slidetoact.