how to add shimmer effect in android

Опубликовано: 04 Февраль 2021
на канале: 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...


Смотрите видео how to add shimmer effect in android онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Android Development Tutorials 04 Февраль 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 11 раз и оно понравилось людям.