complete_icon attribute requires String not Drawable!
See original GitHub issueXML layout:
app:complete_icon="@drawable/slidetoact_animated_ic_check"
It asks for String not drawable. Also, setting this in code not working, no animation at slide completed:
slide.completeIcon = R.drawable.slidetoact_animated_ic_check
Details
- Library Version. 0.9.0
- Android Version. 11
- Emulator/Device specs. Huawei p40
- Logs/Crash reports/Stacktraces. nothing
- Example Code/Link to repositories. N/A
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
getting " 'android:icon' attribute: attribute is not a string value ...
If you are using any android system icons as activity icons (i.e. manifest contains <activity ... android:icon="@android:drawable/.
Read more >Images in Xamarin.Forms - Microsoft Learn
In this article. Display images; Local images; Embedded images; Download images; Animated GIFs; Icons and splash screens; Icons ...
Read more >ImageView - Android Developers
android:tag, Supply a tag for this view containing a String, to be retrieved ... jumpToCurrentState() on all Drawable objects associated with this view....
Read more ><input type="image"> - HTML: HyperText Markup Language
<input type="image"> elements do not accept value attributes. ... example that includes all the essential features you'd need to use (These ...
Read more >Images - React Native
The bundler knows the image dimensions, no need to duplicate it in ... that the src attribute is named source and doesn't take...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works perfect on the emulator, both my app and the expample app
the example app not playing complete animation on my Huawei. But if I close the app and run it again, the checkmark is there.
So, it seems my phone is the problem.
I don’t think this is the case, because I have an animated drawable on another activity as a background for an ImageView, cast it as Animator and calling start() without problem.