https://github.com/flavienlaurent/tickplusdrawable
I'm not a Gif maker, I'm a developer
https://github.com/flavienlaurent/tickplusdrawable
Last synced: 8 months ago
JSON representation
I'm not a Gif maker, I'm a developer
- Host: GitHub
- URL: https://github.com/flavienlaurent/tickplusdrawable
- Owner: flavienlaurent
- Created: 2014-08-06T15:28:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-02-06T13:02:20.000Z (almost 4 years ago)
- Last Synced: 2024-02-14T18:33:51.932Z (almost 2 years ago)
- Language: Java
- Homepage:
- Size: 3.16 MB
- Stars: 269
- Watchers: 11
- Forks: 66
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-MaterialDesign - tickplusdrawable
- beautiful-android-ui - tickplusdrawable
README
I'm not a Gif maker, I'm a developer
==================
Recently, I discovered the cool animation which transforms a tick into a plus in the I/O 2014 app.
I looked for code that animates this button and I came across this: a frame by frame animation aka GIF!
I through it must be a way to do it pragmatically. After reflection, it's not easy to get the same effect.
Finally, I found a simple way (playing with canvas rotation + line translations) to mimic the animation.
![Animated gif][1]
License
-----------
Copyright 2013 Flavien Laurent
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
[1]: https://raw2.github.com/flavienlaurent/tickplusdrawable/master/demo.gif