how to add shimmer effect in android

Published: 04 February 2021
on channel: Android Development Tutorials
116
2

Shimmer

#Shimmer effect for Android

About
Shimmer is an Android library that provides an easy way to add a shimmer effect to any view in your Android app. It is useful as an unobtrusive loading indicator that was originally developed for Facebook Home.

Shimmer for Android is implemented as a layout, which means that you can simply nest any view inside a ShimmerFrameLayout tag, and call to start the animation from your code. That's all that is required. The layout will use the values you specify either on the tag (using custom attributes) or programmatically in your code, and generate an animation on the fly. See the API reference for further details.

Here's an example of a composite view, consisting of an image and some text below it, that shows the effect in action:

To include Shimmer in your project, add the following dependency:

// Gradle dependency on Shimmer for Android
dependencies {
implementation 'com.facebook.shimmer:shimmer:0.5.0'
}

documentation of shimmer effect facebook library for Android

https://facebook.github.io/shimmer-an...

Download Bharat Browser App
https://play.google.com/store/apps/de...

Download Trendz WallPaper App
https://play.google.com/store/apps/de...


Watch video how to add shimmer effect in android online without registration, duration hours minute second in high quality. This video was added by user Android Development Tutorials 04 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 11 once and liked it people.