Short description
Make your component shimmer
Picture of all the blocks
Instructions to use extension
No instructions enjoy
Docs
Docs for: ShimmerLayout
Methods
HideShimmer
Hides the shimmer effect.
SetCustomShimmerProperties
Sets custom properties so that you can customize the shimmer effect on your components.
clipToChildren | boolean
direction | number
shape | number
dropOff | number
duration | number
fixedHeight | number
fixedWidth | number
heightRatio | number
widthRatio | number
intensity | number
repeatCount | number
repeatDelay | number
repeatMode | number
tilt | number
IsShimmerVisible
Checks that is the shimmer visible or not.
Return type : boolean
StartShimmer
Starts the shimmer effect.
StopShimmer
Stops the shimmer effect.
SelectShimmerLayout
To perform methods on a specific shimmer layout you have to select it with this block.
id | number
SetDefaultShimmerProperties
Sets default properties so that you can use the default the shimmer effect on your components.
SetupShimmerLayout
Creates the Shimmer Layout in given arrangement with the specified id. Note : to perform methods on this shimmer layout you first have to select it with id.
arrangement | component
id | number
ShowShimmer
Shows the shimmer effect.
Properties
DEFAULT_DROP_OFF
Property Type : read-only
Accepts : number
DEFAULT_DIRECTION
Property Type : read-only
Accepts : number
DEFAULT_TILT
Property Type : read-only
Accepts : number
DIRECTION_BOTTOM_TO_TOP
Property Type : read-only
Accepts : number
DEFAULT_DURATION
Property Type : read-only
Accepts : number
DEFAULT_SHAPE
Property Type : read-only
Accepts : number
SHAPE_RADIAL
Property Type : read-only
Accepts : number
DEFAULT_REPEAT_COUNT
Property Type : read-only
Accepts : number
REPEAT_MODE_REVERSE
Property Type : read-only
Accepts : number
DEFAULT_CLIP_TO_CHILDREN
Property Type : read-only
Accepts : boolean
DIRECTION_LEFT_TO_RIGHT
Property Type : read-only
Accepts : number
DIRECTION_TOP_TO_BOTTOM
Property Type : read-only
Accepts : number
SHAPE_LINEAR
Property Type : read-only
Accepts : number
DEFAULT_INTENSITY
Property Type : read-only
Accepts : number
DEFAULT_REPEAT_MODE
Property Type : read-only
Accepts : number
DEFAULT_WIDTH_RATIO
Property Type : read-only
Accepts : number
DEFAULT_FIXED_WIDTH
Property Type : read-only
Accepts : number
DEFAULT_REPEAT_DELAY
Property Type : read-only
Accepts : number
REPEAT_MODE_RESTART
Property Type : read-only
Accepts : number
DIRECTION_RIGHT_TO_LEFT
Property Type : read-only
Accepts : number
DEFAULT_HEIGHT_RATIO
Property Type : read-only
Accepts : number
DEFAULT_FIXED_HEIGHT
Property Type : read-only
Accepts : number
Demo Blocks and aia
Blocks -
Aia - Shimmer.aia (23.5 KB)
Apk - Shimmer.apk (5.1 MB)
Demo Video
Open Source
Code gone due to i have got some information against some code stealers who use it in their own builders (not telling which builder).
Download link
com.aktech.shimmerlayout.aix (15.9 KB)