SafeDK
Sign upAdd Your SDK

Shimmer effect for Android

Shimmer is a java 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. It 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. 

Main Features

- Auto Start - Automatically start the animation when the view is shown, or not. 

- Base Alpha
- Alpha used to render the base view i.e. the unhighlighted view over which the highlight is drawn. 

- Duration
- Define the time it takes for the highlight to move from one end of the layout to the other. 

- Repeat Count - Number of times of the current animation will repeat. 

- Repeat Delay
- Delay after which the current animation will repeat. 

- Repeat Mode
- What the animation should do after reaching the end, either restart from the beginning or reverse back towards it. 

- Mask Shape - Shape of the highlight mask, either with a linear or a circular gradient. 

- Angle - Define the angle at which the highlight mask is animated, from left-to-right, top-to-bottom etc. 

- Dropoff
- Control the size of the fading edge of the highlight. 

- Intensity
- Control the brightness of the highlight at the center 

- Tilt
- Define the angle at which the highlight is tilted, measured in degrees 

- Fixed Width, Height
- Fixed sized highlight mask, if set, overrides the relative size value 

- Relative Width, Height - Size of the highlight mask, relative to the layout it is applied to.

SDK for Android

This is the initial public release of Shimmer for Android.

Documentation

Example A

Selected Apps that use this SDK

Ug2neie7orjw04ygji9p0ipji1x3st3xvpnw gc73vtio4dwsskn4g8s tf9lrbrjeo5o5yyvdcrb6qq

Sportlobster

K5xrgsggbq3 2kgzikfl9cxo sbigxaqo vmfoycosowybhrv2ztbi6sqmtw5vs1bbmem5rzefvjlia2

Zepp Golf Swing Analyzer

Tivufe0npgwdanupk6y9z6mifttwkgm6cvs02rirvgqj4qec03wcuzpmdx4bnau6z0tigauhzqnmyge

Super Job Search India

Gfrhe drtjykfnx ekuhrprodv5t2eyqhnvyd8z4w awdbbpb7as1aeiabd7t hz0dtb2nwvlqbrn p5

Runnr Food Ordering

Vd6un 6ur7suosybs3nhvvag pbw2synagkxlh0qz9clhqe4e1 v or0cxsvpxjsqfrht9 4uj2y4ovd

Heetch, enjoy your night out

Z2xov 3qupnnqzwckunlqp4vz llyhbgown riulvl6npmrybwkazrkb2ulttjmks8c1h bjlwdblwnd

Viper SmartStart

Similar SDKs

MORE

Reviews

Rate Now
1
0
0
100%
0
0
Harsh29 Dec, 2016Report offensive

decent

Start a new discussion about Shimmer

×
0
/1000

More from this Developer

MORE
Login