0
Why this demo didn't run as expected
11 Respuestas
+ 2
Works on android lollipop with the latest version of system webview. do this try to save the code as HTML file e.g test.html with a file explorer and open it with a file explorer in chrome or Opera browser should work.
or better yet copy paste the link in the browser.
+ 10
So the problem is the animation of the rectangle (?) :3
@visph i have an "old version of WebView" (because of my OS) but it works..
@Hacen https://play.google.com/store/apps/details?id=com.google.android.webview
+ 10
@Hacen, i know, it give me the same message, as i already wrote... it is because of our Android Version. :P
If i remember correctly it is compatible with android versions after "Lollipop" :\
+ 8
<svg width="1000" height="250">
<rect width="150" height="150" fill="orange">
<animate attributeName="x" from="-300" to="400" dur="3s" fill="freeze" repeatCount="2"/>
</rect>
</svg>
<!-- Try this -->
+ 3
This works exactly as expected ^^
Check your device android and webview version...
+ 1
Your welcome, which method did you try?
0
thanks.
this didn't work too.
just a static rectangle
0
web view How?
version of Android 4.3
0
@Maz
"your device is not compatible to this version"
I have S3
0
@Maz how I can get around the message
0
@Lord Krishna thanks very much this really worked