LordSaac/ProgressLottieIGB

How to change Size of Lottie Animation

AmanRaiAndroid opened this issue · 1 comments

Current it is showing default size it is match parent. how i can customize Lottie icon Size.
size_issue

HI

You try new version released February 1, 2019,
implementation 'com.jgb.lordsaac.igb.progresslitieigb:progresslottieigb:0.0.2'

Kotlin Code

Code:

    ProgressLoadingIGB.startLoadingIGB(this){
            message = "Good Morning!" //  Center Message
            srcLottieJson = R.raw.loading_a // Tour Source JSON Lottie
            timer = 10000                   // Time of live for progress.
            hight = 500 // Optional
            width = 500 // Optional

        }

Java Code

Code:

ProgressLoadingJIGB.startLoadingJIGB(context,R.raw.pork_dance,"Happy New Year 2019...",0,200,200);

Checked wiki:

https://github.com/LordSaac/ProgressLottieIGB/wiki

regards,