Skip to content

feat(splash): splash can be animated on android#790

Merged
mlynch merged 1 commit intoionic-team:masterfrom
ptitjes:master
Sep 6, 2018
Merged

feat(splash): splash can be animated on android#790
mlynch merged 1 commit intoionic-team:masterfrom
ptitjes:master

Conversation

@ptitjes
Copy link
Copy Markdown
Contributor

@ptitjes ptitjes commented Sep 4, 2018

Fixes #789.

@ptitjes ptitjes changed the title feat(splash): splash screen can be an animated drawable on android feat(splash): splash can be an animated drawable on android Sep 4, 2018
@ptitjes ptitjes changed the title feat(splash): splash can be an animated drawable on android feat(splash): splash can be animated on android Sep 4, 2018
@ptitjes
Copy link
Copy Markdown
Contributor Author

ptitjes commented Sep 5, 2018

For the record, here is what can be achieved with this PR:

Animated splash screen example

Better quality video

@ptitjes
Copy link
Copy Markdown
Contributor Author

ptitjes commented Sep 5, 2018

@mlynch Would you mind to review my harmless three-liner change ? :)

@hiepxanh
Copy link
Copy Markdown

hiepxanh commented Sep 6, 2018

wow, that pretty cool. I like it, please then can you make an tutorial about this. What is animating? image? gif ? or video?

@mlynch mlynch merged commit b3208ef into ionic-team:master Sep 6, 2018
@mlynch
Copy link
Copy Markdown
Contributor

mlynch commented Sep 6, 2018

Awesome! Thanks for the PR

@ptitjes
Copy link
Copy Markdown
Contributor Author

ptitjes commented Sep 6, 2018

@hiepxanh It is an animated vector drawable. It is definable as a set of three XML files:

  • a set of paths (defined as in an SVG file) with grouping of paths
  • a set of animator descriptions (translation, scaling, rotation, ...) with timings
  • a set of associations between groups of paths and animators

For more information, see https://developer.android.com/reference/android/graphics/drawable/AnimatedVectorDrawable. I will put my project on git when capacitor is moving out of beta.

@hiepxanh
Copy link
Copy Markdown

hiepxanh commented Sep 7, 2018

@ptitjes yeah, hope to see an example project.
I have many html/css animation. How can I convert to this animation? is that ios support this?

@ptitjes
Copy link
Copy Markdown
Contributor Author

ptitjes commented Sep 7, 2018

@hiepxanh To make a animated vector drawable, you can use the great Shap Shifter (or its new beta).
And nope, that is android specific.

@hiepxanh
Copy link
Copy Markdown

ya, thank you for that information

@ptitjes
Copy link
Copy Markdown
Contributor Author

ptitjes commented Sep 14, 2018

@mlynch When do you think you'll make a release ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants