HOW TO USE SHIMMER EFFECT IN ANDROID(LIKE FACEBOOK,LINKDIN)

Raushan Jha
1 min readMay 31, 2019

--

In this post I will show you how you can make your android app design beautiful by adding Shimmer Effect.

Shimmer effect was created by Facebook to indicate a loading status, so instead of using ProgressBar or usual loader use Shimmer for a better designand user interface. They also open-sourced a library called Shimmer both for Android and iOS so that every developer could use it for free.

STEPS:

1:Add Shimmer Library to build.gradle :

implementation ‘com.facebook.shimmer:shimmer:0.1.0@aar’

2: Now create a new layout ‘placeholder_layout.xml’. This layout will act as a placeholder viewuntil the data is not loaded from the API.

--

--

Raushan Jha
Raushan Jha

Written by Raushan Jha

MOBILITY COE HEAD at Think AI Labs LLC.I love to teach the ways of Android & iOS through either java or Flutter.

No responses yet