You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2020. It is now read-only.
This library is DEPRECATED, as I don't have time to mainatin it anymore. But feel free to go through the code and copy that into your project, it still does its job.
The animation can be tweaked like a usual ObjectAnimator:
// DON'T COPY THIS CODE TO YOUR PROJECT! It is just an exampleshimmer.setRepeatCount(0)
.setDuration(500)
.setStartDelay(300)
.setDirection(Shimmer.ANIMATION_DIRECTION_RTL)
.setAnimatorListener(newAnimator.AnimatorListener(){});
Custom Shimmer view
Shimmer also includes a ShimmerButton. It works exactly the same way as a ShimmerTextView.
Have a look at how it's implemented and you can apply the same effect on your custom view if you need it.
Copyright 2014 Romain Piel
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
https://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.
About
(DEPRECATED) An Android TextView with a shimmering effect