├── .gitignore ├── .idea ├── .gitignore ├── compiler.xml ├── gradle.xml ├── misc.xml └── vcs.xml ├── CustomLottieDialogBox ├── .gitignore ├── build.gradle ├── consumer-rules.pro ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── siddydevelops │ │ └── customlottiedialogbox │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── siddydevelops │ │ │ └── customlottiedialogbox │ │ │ ├── CustomLottieDialog.java │ │ │ └── GraduallyTextView.java │ └── res │ │ ├── font │ │ └── merienda_bold.ttf │ │ ├── layout │ │ └── custom_dialog_item.xml │ │ └── raw │ │ ├── balance_animation.json │ │ ├── bubble_animation.json │ │ ├── groove_animation.json │ │ ├── loop_animation.json │ │ ├── music_animation.json │ │ ├── paperplane_animation.json │ │ ├── rocket_animation.json │ │ └── spiral_animation.json │ └── test │ └── java │ └── com │ └── siddydevelops │ └── customlottiedialogbox │ └── ExampleUnitTest.java ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── siddydevelops │ │ └── customlottiedialogbox │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── siddydevelops │ │ │ └── customlottiedialogbox │ │ │ └── MainActivity.java │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ └── test │ └── java │ └── com │ └── siddydevelops │ └── customlottiedialogbox │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── jitpack.yml └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 20 | 21 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | 13 | 14 | 15 | 17 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CustomLottieDialogBox/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /CustomLottieDialogBox/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'com.android.library' 3 | id 'maven-publish' 4 | } 5 | 6 | group = 'com.github.SiddyDevelops' 7 | 8 | task androidSourcesJar(type: Jar) { 9 | classifier 'sources' 10 | from android.sourceSets.main.java.srcDirs 11 | } 12 | 13 | project.afterEvaluate { 14 | publishing { 15 | publications { 16 | release(MavenPublication) { 17 | from components.release 18 | //artifact androidSourcesJar // optional sources 19 | } 20 | } 21 | } 22 | } 23 | 24 | android { 25 | compileSdk 30 26 | 27 | defaultConfig { 28 | minSdk 23 29 | targetSdk 30 30 | versionCode 1 31 | versionName "1.0" 32 | 33 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 34 | consumerProguardFiles "consumer-rules.pro" 35 | } 36 | 37 | buildTypes { 38 | release { 39 | minifyEnabled false 40 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 41 | } 42 | } 43 | compileOptions { 44 | sourceCompatibility JavaVersion.VERSION_1_8 45 | targetCompatibility JavaVersion.VERSION_1_8 46 | } 47 | } 48 | 49 | dependencies { 50 | 51 | implementation 'androidx.appcompat:appcompat:1.3.1' 52 | implementation 'com.google.android.material:material:1.4.0' 53 | testImplementation 'junit:junit:4.+' 54 | androidTestImplementation 'androidx.test.ext:junit:1.1.3' 55 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' 56 | //Lottie-Animation 57 | implementation 'com.airbnb.android:lottie:3.6.1' 58 | } -------------------------------------------------------------------------------- /CustomLottieDialogBox/consumer-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/CustomLottieDialogBox/consumer-rules.pro -------------------------------------------------------------------------------- /CustomLottieDialogBox/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/androidTest/java/com/siddydevelops/customlottiedialogbox/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.siddydevelops.customlottiedialogbox; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.platform.app.InstrumentationRegistry; 6 | import androidx.test.ext.junit.runners.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest { 20 | @Test 21 | public void useAppContext() { 22 | // Context of the app under test. 23 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 24 | assertEquals("com.siddydevelops.customlottiedialogbox.test", appContext.getPackageName()); 25 | } 26 | } -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/java/com/siddydevelops/customlottiedialogbox/CustomLottieDialog.java: -------------------------------------------------------------------------------- 1 | package com.siddydevelops.customlottiedialogbox; 2 | 3 | import android.app.Dialog; 4 | import android.content.Context; 5 | import android.graphics.Color; 6 | import android.graphics.drawable.ColorDrawable; 7 | import android.view.ViewGroup; 8 | 9 | import androidx.constraintlayout.widget.ConstraintLayout; 10 | 11 | import com.airbnb.lottie.LottieAnimationView; 12 | 13 | public class CustomLottieDialog { 14 | 15 | Context context; 16 | int lottieAnim; 17 | ConstraintLayout parentLayout; 18 | LottieAnimationView lottieAnimationView; 19 | Dialog dialog; 20 | GraduallyTextView mGraduallyTextView; 21 | String lottieBatch; 22 | 23 | public CustomLottieDialog(Context context, int lottieAnim) { 24 | this.context = context; 25 | this.lottieAnim = lottieAnim; 26 | 27 | initialize(); 28 | 29 | } 30 | 31 | public CustomLottieDialog(Context context, String lottieBatch) { 32 | this.context = context; 33 | this.lottieBatch = lottieBatch; 34 | 35 | initializeBatch(); 36 | 37 | } 38 | 39 | public void initialize() 40 | { 41 | dialog = new Dialog(context); 42 | dialog.setContentView(R.layout.custom_dialog_item); 43 | dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); 44 | mGraduallyTextView = dialog.findViewById(R.id.loadingTextView); 45 | parentLayout = dialog.findViewById(R.id.parentLayout); 46 | lottieAnimationView = dialog.findViewById(R.id.lottieAnimation); 47 | lottieAnimationView.setAnimation(lottieAnim); 48 | lottieAnimationView.setRepeatCount(100); 49 | dialog.setCanceledOnTouchOutside(false); 50 | } 51 | 52 | private void initializeBatch() { 53 | dialog = new Dialog(context); 54 | dialog.setContentView(R.layout.custom_dialog_item); 55 | dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); 56 | mGraduallyTextView = dialog.findViewById(R.id.loadingTextView); 57 | parentLayout = dialog.findViewById(R.id.parentLayout); 58 | lottieAnimationView = dialog.findViewById(R.id.lottieAnimation); 59 | dialog.setCanceledOnTouchOutside(false); 60 | 61 | switch(lottieBatch) 62 | { 63 | case "LO01" : lottieAnimationView.setAnimation(R.raw.paperplane_animation); 64 | break; 65 | case "LO02" : lottieAnimationView.setAnimation(R.raw.bubble_animation); 66 | break; 67 | case "LO03" : lottieAnimationView.setAnimation(R.raw.balance_animation); 68 | break; 69 | case "LO04" : lottieAnimationView.setAnimation(R.raw.groove_animation); 70 | break; 71 | case "LO05" : lottieAnimationView.setAnimation(R.raw.loop_animation); 72 | break; 73 | case "LO06" : lottieAnimationView.setAnimation(R.raw.music_animation); 74 | break; 75 | case "LO07" : lottieAnimationView.setAnimation(R.raw.rocket_animation); 76 | break; 77 | case "LO08" : lottieAnimationView.setAnimation(R.raw.spiral_animation); 78 | break; 79 | default: lottieAnimationView.setAnimation(R.raw.rocket_animation); 80 | break; 81 | } 82 | 83 | lottieAnimationView.setRepeatCount(100); 84 | } 85 | 86 | public void show() 87 | { 88 | dialog.show(); 89 | mGraduallyTextView.startLoading(); 90 | } 91 | 92 | public void dismiss() 93 | { 94 | dialog.dismiss(); 95 | } 96 | 97 | public void setLottieBackgroundColor(String colorHexCode) 98 | { 99 | lottieAnimationView.setBackgroundColor(Color.parseColor(colorHexCode)); 100 | } 101 | 102 | public void setLoadingTextColor(String colorHexCode) 103 | { 104 | mGraduallyTextView.setTextColor(Color.parseColor(colorHexCode)); 105 | } 106 | 107 | public void setLoadingText(String customText) 108 | { 109 | String customTextNew = ""; 110 | int sizeOfText = customText.length(); 111 | if(sizeOfText < (17)) 112 | { 113 | StringBuilder empty = new StringBuilder(); 114 | for(int i = 0; i<(11-sizeOfText); i++) 115 | { 116 | empty.append(" "); 117 | } 118 | customTextNew = empty + customText; } 119 | else 120 | { 121 | customTextNew = customText; 122 | } 123 | mGraduallyTextView.setText(customTextNew); 124 | } 125 | 126 | public void setDialogLayoutDimensions(int width, int height) 127 | { 128 | float scale = context.getResources().getDisplayMetrics().density; 129 | ViewGroup.LayoutParams layoutParams = parentLayout.getLayoutParams(); 130 | int widthNew = (int) (width * scale + 0.5f); 131 | int heightNew = (int) (height * scale + 0.5f); 132 | layoutParams.width = widthNew; 133 | layoutParams.height = heightNew; 134 | parentLayout.setLayoutParams(layoutParams); 135 | } 136 | 137 | } 138 | -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/java/com/siddydevelops/customlottiedialogbox/GraduallyTextView.java: -------------------------------------------------------------------------------- 1 | package com.siddydevelops.customlottiedialogbox; 2 | 3 | import android.animation.ValueAnimator; 4 | import android.content.Context; 5 | import android.graphics.Canvas; 6 | import android.graphics.Paint; 7 | import android.os.Build; 8 | import android.text.TextUtils; 9 | import android.util.AttributeSet; 10 | import android.view.Gravity; 11 | import android.view.View; 12 | import android.view.animation.AccelerateDecelerateInterpolator; 13 | import android.view.animation.Animation; 14 | 15 | public class GraduallyTextView extends androidx.appcompat.widget.AppCompatTextView { 16 | 17 | private CharSequence text; 18 | private int startY = 0; 19 | private float progress; 20 | private boolean isLoading; 21 | private Paint mPaint; 22 | private int textLength; 23 | private boolean isStop = true; 24 | private float scaleX; 25 | private int duration = 2000; 26 | private float sigleDuration; 27 | 28 | private ValueAnimator valueAnimator; 29 | 30 | public GraduallyTextView(Context context) { 31 | super(context); 32 | init(); 33 | } 34 | 35 | 36 | public GraduallyTextView(Context context, AttributeSet attrs) { 37 | super(context, attrs); 38 | init(); 39 | } 40 | 41 | 42 | public GraduallyTextView(Context context, AttributeSet attrs, int defStyleAttr) { 43 | super(context, attrs, defStyleAttr); 44 | init(); 45 | } 46 | 47 | 48 | public void init() { 49 | mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 50 | mPaint.setStyle(Paint.Style.FILL); 51 | setBackground(null); 52 | setCursorVisible(false); 53 | setFocusable(false); 54 | setEnabled(false); 55 | setFocusableInTouchMode(false); 56 | 57 | valueAnimator = ValueAnimator.ofFloat(0, 100).setDuration(duration); 58 | valueAnimator.setInterpolator(new AccelerateDecelerateInterpolator()); 59 | valueAnimator.setRepeatCount(Animation.INFINITE); 60 | valueAnimator.setRepeatMode(ValueAnimator.RESTART); 61 | valueAnimator.addUpdateListener( 62 | new ValueAnimator.AnimatorUpdateListener() { 63 | @Override 64 | public void onAnimationUpdate(ValueAnimator animation) { 65 | progress = (Float) animation.getAnimatedValue(); 66 | GraduallyTextView.this.invalidate(); 67 | } 68 | }); 69 | } 70 | 71 | 72 | public void startLoading() { 73 | if (!isStop) { 74 | return; 75 | } 76 | setGravity(Gravity.CENTER); 77 | setTextAlignment(getTextAlignment()); 78 | textLength = getText().length(); 79 | if (TextUtils.isEmpty(getText().toString())) { 80 | return; 81 | } 82 | isLoading = true; 83 | isStop = false; 84 | text = getText(); 85 | 86 | scaleX = getTextScaleX() * 10; 87 | startY = 88; 88 | 89 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { 90 | mPaint.setTypeface(getResources().getFont(R.font.merienda_bold)); 91 | } 92 | 93 | mPaint.setColor(getCurrentTextColor()); 94 | mPaint.setTextSize(getTextSize()); 95 | setMinWidth(getWidth()); 96 | setText(""); 97 | setHint(""); 98 | valueAnimator.start(); 99 | sigleDuration = 100f / textLength; 100 | } 101 | 102 | 103 | public void stopLoading() { 104 | isLoading = false; 105 | valueAnimator.end(); 106 | valueAnimator.cancel(); 107 | isStop = true; 108 | setText(text); 109 | } 110 | 111 | 112 | public void setDuration(int duration) { 113 | this.duration = duration; 114 | } 115 | 116 | 117 | @Override 118 | protected void onVisibilityChanged(View changedView, int visibility) { 119 | super.onVisibilityChanged(changedView, visibility); 120 | if (!isLoading) { 121 | return; 122 | } 123 | if (visibility == View.VISIBLE) { 124 | valueAnimator.resume(); 125 | } 126 | else { 127 | valueAnimator.pause(); 128 | } 129 | } 130 | 131 | 132 | @Override protected void onDraw(Canvas canvas) { 133 | super.onDraw(canvas); 134 | if (!isStop) { 135 | mPaint.setAlpha(255); 136 | if (progress / sigleDuration >= 1) { 137 | canvas.drawText(String.valueOf(text), 0, 138 | (int) (progress / sigleDuration), scaleX, startY, 139 | mPaint); 140 | } 141 | mPaint.setAlpha( 142 | (int) (255 * ((progress % sigleDuration) / sigleDuration))); 143 | int lastOne = (int) (progress / sigleDuration); 144 | if (lastOne < textLength) { 145 | canvas.drawText(String.valueOf(text.charAt(lastOne)), 0, 1, 146 | scaleX + getPaint().measureText( 147 | text.subSequence(0, lastOne).toString()), 148 | startY, mPaint); 149 | } 150 | } 151 | } 152 | 153 | } 154 | -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/res/font/merienda_bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/CustomLottieDialogBox/src/main/res/font/merienda_bold.ttf -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/res/layout/custom_dialog_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 14 | 15 | 18 | 19 | 29 | 30 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/res/raw/balance_animation.json: -------------------------------------------------------------------------------- 1 | { 2 | "v": "4.8.0", 3 | "meta": { 4 | "g": "LottieFiles AE 1.0.0", 5 | "a": "", 6 | "k": "", 7 | "d": "", 8 | "tc": "#000000" 9 | }, 10 | "fr": 30, 11 | "ip": 0, 12 | "op": 90, 13 | "w": 1280, 14 | "h": 720, 15 | "nm": "Loading_006", 16 | "ddd": 0, 17 | "assets": [], 18 | "layers": [ 19 | { 20 | "ddd": 0, 21 | "ind": 1, 22 | "ty": 4, 23 | "nm": "Ball 4", 24 | "parent": 5, 25 | "sr": 1, 26 | "ks": { 27 | "o": { 28 | "a": 0, 29 | "k": 100, 30 | "ix": 11 31 | }, 32 | "r": { 33 | "a": 0, 34 | "k": 0, 35 | "ix": 10 36 | }, 37 | "p": { 38 | "s": true, 39 | "x": { 40 | "a": 1, 41 | "k": [ 42 | { 43 | "i": { 44 | "x": [ 45 | 0.436 46 | ], 47 | "y": [ 48 | 0.989 49 | ] 50 | }, 51 | "o": { 52 | "x": [ 53 | 0.611 54 | ], 55 | "y": [ 56 | 0 57 | ] 58 | }, 59 | "t": -10, 60 | "s": [ 61 | -428.811 62 | ] 63 | }, 64 | { 65 | "i": { 66 | "x": [ 67 | 0.515 68 | ], 69 | "y": [ 70 | 0.992 71 | ] 72 | }, 73 | "o": { 74 | "x": [ 75 | 0.526 76 | ], 77 | "y": [ 78 | -0.01 79 | ] 80 | }, 81 | "t": 35, 82 | "s": [ 83 | 404.189 84 | ] 85 | }, 86 | { 87 | "t": 80, 88 | "s": [ 89 | -428.811 90 | ] 91 | } 92 | ], 93 | "ix": 3 94 | }, 95 | "y": { 96 | "a": 0, 97 | "k": -43.027, 98 | "ix": 4 99 | } 100 | }, 101 | "a": { 102 | "a": 0, 103 | "k": [ 104 | -8, 105 | 16, 106 | 0 107 | ], 108 | "ix": 1 109 | }, 110 | "s": { 111 | "a": 0, 112 | "k": [ 113 | 100, 114 | 100, 115 | 100 116 | ], 117 | "ix": 6 118 | } 119 | }, 120 | "ao": 0, 121 | "shapes": [ 122 | { 123 | "ty": "gr", 124 | "it": [ 125 | { 126 | "d": 1, 127 | "ty": "el", 128 | "s": { 129 | "a": 0, 130 | "k": [ 131 | 88, 132 | 88 133 | ], 134 | "ix": 2 135 | }, 136 | "p": { 137 | "a": 0, 138 | "k": [ 139 | 0, 140 | 0 141 | ], 142 | "ix": 3 143 | }, 144 | "nm": "Ellipse Path 1", 145 | "mn": "ADBE Vector Shape - Ellipse", 146 | "hd": false 147 | }, 148 | { 149 | "ty": "fl", 150 | "c": { 151 | "a": 0, 152 | "k": [ 153 | 1, 154 | 1, 155 | 1, 156 | 1 157 | ], 158 | "ix": 4 159 | }, 160 | "o": { 161 | "a": 0, 162 | "k": 100, 163 | "ix": 5 164 | }, 165 | "r": 1, 166 | "bm": 0, 167 | "nm": "Fill 1", 168 | "mn": "ADBE Vector Graphic - Fill", 169 | "hd": false 170 | }, 171 | { 172 | "ty": "tr", 173 | "p": { 174 | "a": 0, 175 | "k": [ 176 | -8, 177 | 16 178 | ], 179 | "ix": 2 180 | }, 181 | "a": { 182 | "a": 0, 183 | "k": [ 184 | 0, 185 | 0 186 | ], 187 | "ix": 1 188 | }, 189 | "s": { 190 | "a": 0, 191 | "k": [ 192 | 100, 193 | 100 194 | ], 195 | "ix": 3 196 | }, 197 | "r": { 198 | "a": 0, 199 | "k": 0, 200 | "ix": 6 201 | }, 202 | "o": { 203 | "a": 0, 204 | "k": 100, 205 | "ix": 7 206 | }, 207 | "sk": { 208 | "a": 0, 209 | "k": 0, 210 | "ix": 4 211 | }, 212 | "sa": { 213 | "a": 0, 214 | "k": 0, 215 | "ix": 5 216 | }, 217 | "nm": "Transform" 218 | } 219 | ], 220 | "nm": "Ellipse 1", 221 | "np": 3, 222 | "cix": 2, 223 | "bm": 0, 224 | "ix": 1, 225 | "mn": "ADBE Vector Group", 226 | "hd": false 227 | } 228 | ], 229 | "ip": 0, 230 | "op": 80, 231 | "st": -10, 232 | "bm": 0 233 | }, 234 | { 235 | "ddd": 0, 236 | "ind": 2, 237 | "ty": 4, 238 | "nm": "Ball 3", 239 | "parent": 5, 240 | "sr": 1, 241 | "ks": { 242 | "o": { 243 | "a": 0, 244 | "k": 100, 245 | "ix": 11 246 | }, 247 | "r": { 248 | "a": 0, 249 | "k": 0, 250 | "ix": 10 251 | }, 252 | "p": { 253 | "s": true, 254 | "x": { 255 | "a": 1, 256 | "k": [ 257 | { 258 | "i": { 259 | "x": [ 260 | 0.436 261 | ], 262 | "y": [ 263 | 0.989 264 | ] 265 | }, 266 | "o": { 267 | "x": [ 268 | 0.611 269 | ], 270 | "y": [ 271 | 0 272 | ] 273 | }, 274 | "t": 80, 275 | "s": [ 276 | -428.811 277 | ] 278 | }, 279 | { 280 | "i": { 281 | "x": [ 282 | 0.515 283 | ], 284 | "y": [ 285 | 0.992 286 | ] 287 | }, 288 | "o": { 289 | "x": [ 290 | 0.526 291 | ], 292 | "y": [ 293 | -0.01 294 | ] 295 | }, 296 | "t": 125, 297 | "s": [ 298 | 404.189 299 | ] 300 | }, 301 | { 302 | "t": 170, 303 | "s": [ 304 | -428.811 305 | ] 306 | } 307 | ], 308 | "ix": 3 309 | }, 310 | "y": { 311 | "a": 0, 312 | "k": -43.027, 313 | "ix": 4 314 | } 315 | }, 316 | "a": { 317 | "a": 0, 318 | "k": [ 319 | -8, 320 | 16, 321 | 0 322 | ], 323 | "ix": 1 324 | }, 325 | "s": { 326 | "a": 0, 327 | "k": [ 328 | 100, 329 | 100, 330 | 100 331 | ], 332 | "ix": 6 333 | } 334 | }, 335 | "ao": 0, 336 | "shapes": [ 337 | { 338 | "ty": "gr", 339 | "it": [ 340 | { 341 | "d": 1, 342 | "ty": "el", 343 | "s": { 344 | "a": 0, 345 | "k": [ 346 | 88, 347 | 88 348 | ], 349 | "ix": 2 350 | }, 351 | "p": { 352 | "a": 0, 353 | "k": [ 354 | 0, 355 | 0 356 | ], 357 | "ix": 3 358 | }, 359 | "nm": "Ellipse Path 1", 360 | "mn": "ADBE Vector Shape - Ellipse", 361 | "hd": false 362 | }, 363 | { 364 | "ty": "fl", 365 | "c": { 366 | "a": 0, 367 | "k": [ 368 | 1, 369 | 1, 370 | 1, 371 | 1 372 | ], 373 | "ix": 4 374 | }, 375 | "o": { 376 | "a": 0, 377 | "k": 100, 378 | "ix": 5 379 | }, 380 | "r": 1, 381 | "bm": 0, 382 | "nm": "Fill 1", 383 | "mn": "ADBE Vector Graphic - Fill", 384 | "hd": false 385 | }, 386 | { 387 | "ty": "tr", 388 | "p": { 389 | "a": 0, 390 | "k": [ 391 | -8, 392 | 16 393 | ], 394 | "ix": 2 395 | }, 396 | "a": { 397 | "a": 0, 398 | "k": [ 399 | 0, 400 | 0 401 | ], 402 | "ix": 1 403 | }, 404 | "s": { 405 | "a": 0, 406 | "k": [ 407 | 100, 408 | 100 409 | ], 410 | "ix": 3 411 | }, 412 | "r": { 413 | "a": 0, 414 | "k": 0, 415 | "ix": 6 416 | }, 417 | "o": { 418 | "a": 0, 419 | "k": 100, 420 | "ix": 7 421 | }, 422 | "sk": { 423 | "a": 0, 424 | "k": 0, 425 | "ix": 4 426 | }, 427 | "sa": { 428 | "a": 0, 429 | "k": 0, 430 | "ix": 5 431 | }, 432 | "nm": "Transform" 433 | } 434 | ], 435 | "nm": "Ellipse 1", 436 | "np": 3, 437 | "cix": 2, 438 | "bm": 0, 439 | "ix": 1, 440 | "mn": "ADBE Vector Group", 441 | "hd": false 442 | } 443 | ], 444 | "ip": 80, 445 | "op": 90, 446 | "st": 80, 447 | "bm": 0 448 | }, 449 | { 450 | "ddd": 0, 451 | "ind": 5, 452 | "ty": 4, 453 | "nm": "Base", 454 | "sr": 1, 455 | "ks": { 456 | "o": { 457 | "a": 0, 458 | "k": 100, 459 | "ix": 11 460 | }, 461 | "r": { 462 | "a": 1, 463 | "k": [ 464 | { 465 | "i": { 466 | "x": [ 467 | 0.625 468 | ], 469 | "y": [ 470 | 1.001 471 | ] 472 | }, 473 | "o": { 474 | "x": [ 475 | 0.326 476 | ], 477 | "y": [ 478 | 0.003 479 | ] 480 | }, 481 | "t": 0, 482 | "s": [ 483 | 20 484 | ] 485 | }, 486 | { 487 | "i": { 488 | "x": [ 489 | 0.677 490 | ], 491 | "y": [ 492 | 0.996 493 | ] 494 | }, 495 | "o": { 496 | "x": [ 497 | 0.417 498 | ], 499 | "y": [ 500 | 0.003 501 | ] 502 | }, 503 | "t": 45, 504 | "s": [ 505 | -20 506 | ] 507 | }, 508 | { 509 | "t": 90, 510 | "s": [ 511 | 20 512 | ] 513 | } 514 | ], 515 | "ix": 10 516 | }, 517 | "p": { 518 | "a": 0, 519 | "k": [ 520 | 640, 521 | 372, 522 | 0 523 | ], 524 | "ix": 2 525 | }, 526 | "a": { 527 | "a": 0, 528 | "k": [ 529 | -10.811, 530 | 12.973, 531 | 0 532 | ], 533 | "ix": 1 534 | }, 535 | "s": { 536 | "a": 0, 537 | "k": [ 538 | 100, 539 | 100, 540 | 100 541 | ], 542 | "ix": 6 543 | } 544 | }, 545 | "ao": 0, 546 | "shapes": [ 547 | { 548 | "ty": "gr", 549 | "it": [ 550 | { 551 | "ind": 0, 552 | "ty": "sh", 553 | "ix": 1, 554 | "ks": { 555 | "a": 0, 556 | "k": { 557 | "i": [ 558 | [ 559 | 0, 560 | 0 561 | ], 562 | [ 563 | 0, 564 | 0 565 | ] 566 | ], 567 | "o": [ 568 | [ 569 | 0, 570 | 0 571 | ], 572 | [ 573 | 0, 574 | 0 575 | ] 576 | ], 577 | "v": [ 578 | [ 579 | -429.189, 580 | 12.973 581 | ], 582 | [ 583 | 407.568, 584 | 12.973 585 | ] 586 | ], 587 | "c": false 588 | }, 589 | "ix": 2 590 | }, 591 | "nm": "Path 1", 592 | "mn": "ADBE Vector Shape - Group", 593 | "hd": false 594 | }, 595 | { 596 | "ty": "st", 597 | "c": { 598 | "a": 0, 599 | "k": [ 600 | 1, 601 | 1, 602 | 1, 603 | 1 604 | ], 605 | "ix": 3 606 | }, 607 | "o": { 608 | "a": 0, 609 | "k": 100, 610 | "ix": 4 611 | }, 612 | "w": { 613 | "a": 0, 614 | "k": 24, 615 | "ix": 5 616 | }, 617 | "lc": 2, 618 | "lj": 1, 619 | "ml": 4, 620 | "bm": 0, 621 | "nm": "Stroke 1", 622 | "mn": "ADBE Vector Graphic - Stroke", 623 | "hd": false 624 | }, 625 | { 626 | "ty": "tr", 627 | "p": { 628 | "a": 0, 629 | "k": [ 630 | 0, 631 | 0 632 | ], 633 | "ix": 2 634 | }, 635 | "a": { 636 | "a": 0, 637 | "k": [ 638 | 0, 639 | 0 640 | ], 641 | "ix": 1 642 | }, 643 | "s": { 644 | "a": 0, 645 | "k": [ 646 | 100, 647 | 100 648 | ], 649 | "ix": 3 650 | }, 651 | "r": { 652 | "a": 0, 653 | "k": 0, 654 | "ix": 6 655 | }, 656 | "o": { 657 | "a": 0, 658 | "k": 100, 659 | "ix": 7 660 | }, 661 | "sk": { 662 | "a": 0, 663 | "k": 0, 664 | "ix": 4 665 | }, 666 | "sa": { 667 | "a": 0, 668 | "k": 0, 669 | "ix": 5 670 | }, 671 | "nm": "Transform" 672 | } 673 | ], 674 | "nm": "Shape 1", 675 | "np": 3, 676 | "cix": 2, 677 | "bm": 0, 678 | "ix": 1, 679 | "mn": "ADBE Vector Group", 680 | "hd": false 681 | } 682 | ], 683 | "ip": 0, 684 | "op": 90, 685 | "st": 0, 686 | "bm": 0 687 | } 688 | ], 689 | "markers": [] 690 | } -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/res/raw/bubble_animation.json: -------------------------------------------------------------------------------- 1 | { 2 | "v": "4.10.1", 3 | "fr": 24, 4 | "ip": 0, 5 | "op": 60, 6 | "w": 400, 7 | "h": 400, 8 | "nm": "Comp 1", 9 | "ddd": 0, 10 | "assets": [ 11 | { 12 | "id": "comp_0", 13 | "layers": [ 14 | { 15 | "ddd": 0, 16 | "ind": 1, 17 | "ty": 4, 18 | "nm": "Capa de formas 12", 19 | "sr": 1, 20 | "ks": { 21 | "o": { 22 | "a": 0, 23 | "k": 100, 24 | "ix": 11 25 | }, 26 | "r": { 27 | "a": 0, 28 | "k": 0, 29 | "ix": 10 30 | }, 31 | "p": { 32 | "a": 1, 33 | "k": [ 34 | { 35 | "i": { 36 | "x": 0.833, 37 | "y": 0.833 38 | }, 39 | "o": { 40 | "x": 0.167, 41 | "y": 0.167 42 | }, 43 | "n": "0p833_0p833_0p167_0p167", 44 | "t": 24, 45 | "s": [ 46 | 81.5, 47 | 370.25, 48 | 0 49 | ], 50 | "e": [ 51 | 445.5, 52 | 199.25, 53 | 0 54 | ], 55 | "to": [ 56 | 60.6666679382324, 57 | -28.5, 58 | 0 59 | ], 60 | "ti": [ 61 | -60.6666679382324, 62 | 28.5, 63 | 0 64 | ] 65 | }, 66 | { 67 | "t": 48 68 | } 69 | ], 70 | "ix": 2 71 | }, 72 | "a": { 73 | "a": 0, 74 | "k": [ 75 | 0, 76 | 0, 77 | 0 78 | ], 79 | "ix": 1 80 | }, 81 | "s": { 82 | "a": 0, 83 | "k": [ 84 | 43, 85 | 43, 86 | 100 87 | ], 88 | "ix": 6 89 | } 90 | }, 91 | "ao": 0, 92 | "shapes": [ 93 | { 94 | "ty": "gr", 95 | "it": [ 96 | { 97 | "ind": 0, 98 | "ty": "sh", 99 | "ix": 1, 100 | "ks": { 101 | "a": 0, 102 | "k": { 103 | "i": [ 104 | [ 105 | 28, 106 | 0 107 | ], 108 | [ 109 | 34.935, 110 | -19.483 111 | ], 112 | [ 113 | 31.619, 114 | 18.821 115 | ], 116 | [ 117 | 33, 118 | -14 119 | ], 120 | [ 121 | 57, 122 | 29 123 | ], 124 | [ 125 | 0, 126 | 0 127 | ], 128 | [ 129 | 0, 130 | 0 131 | ], 132 | [ 133 | 0, 134 | 0 135 | ] 136 | ], 137 | "o": [ 138 | [ 139 | -28, 140 | 0 141 | ], 142 | [ 143 | -52, 144 | 29 145 | ], 146 | [ 147 | -42, 148 | -25 149 | ], 150 | [ 151 | -28.892, 152 | 12.257 153 | ], 154 | [ 155 | -57, 156 | -29 157 | ], 158 | [ 159 | 0, 160 | 0 161 | ], 162 | [ 163 | 0, 164 | 0 165 | ], 166 | [ 167 | 0, 168 | 0 169 | ] 170 | ], 171 | "v": [ 172 | [ 173 | 367.75, 174 | -97 175 | ], 176 | [ 177 | 277, 178 | -75 179 | ], 180 | [ 181 | 155, 182 | -82 183 | ], 184 | [ 185 | 35, 186 | -82 187 | ], 188 | [ 189 | -94, 190 | -82.326 191 | ], 192 | [ 193 | -200, 194 | -74 195 | ], 196 | [ 197 | -352.07, 198 | 320.209 199 | ], 200 | [ 201 | 499.162, 202 | 354.093 203 | ] 204 | ], 205 | "c": true 206 | }, 207 | "ix": 2 208 | }, 209 | "nm": "Trazado 1", 210 | "mn": "ADBE Vector Shape - Group", 211 | "hd": false 212 | }, 213 | { 214 | "ty": "fl", 215 | "c": { 216 | "a": 0, 217 | "k": [ 218 | 0.198431351606, 219 | 0.588595042509, 220 | 0.733333333333, 221 | 1 222 | ], 223 | "ix": 4 224 | }, 225 | "o": { 226 | "a": 0, 227 | "k": 100, 228 | "ix": 5 229 | }, 230 | "r": 1, 231 | "nm": "Relleno 1", 232 | "mn": "ADBE Vector Graphic - Fill", 233 | "hd": false 234 | }, 235 | { 236 | "ty": "tr", 237 | "p": { 238 | "a": 0, 239 | "k": [ 240 | 0, 241 | 0 242 | ], 243 | "ix": 2 244 | }, 245 | "a": { 246 | "a": 0, 247 | "k": [ 248 | 0, 249 | 0 250 | ], 251 | "ix": 1 252 | }, 253 | "s": { 254 | "a": 0, 255 | "k": [ 256 | 100, 257 | 100 258 | ], 259 | "ix": 3 260 | }, 261 | "r": { 262 | "a": 0, 263 | "k": 0, 264 | "ix": 6 265 | }, 266 | "o": { 267 | "a": 0, 268 | "k": 100, 269 | "ix": 7 270 | }, 271 | "sk": { 272 | "a": 0, 273 | "k": 0, 274 | "ix": 4 275 | }, 276 | "sa": { 277 | "a": 0, 278 | "k": 0, 279 | "ix": 5 280 | }, 281 | "nm": "Transformar" 282 | } 283 | ], 284 | "nm": "Forma 1", 285 | "np": 3, 286 | "cix": 2, 287 | "ix": 1, 288 | "mn": "ADBE Vector Group", 289 | "hd": false 290 | } 291 | ], 292 | "ip": 0, 293 | "op": 144, 294 | "st": 0, 295 | "bm": 0 296 | }, 297 | { 298 | "ddd": 0, 299 | "ind": 2, 300 | "ty": 4, 301 | "nm": "Capa de formas 2", 302 | "sr": 1, 303 | "ks": { 304 | "o": { 305 | "a": 0, 306 | "k": 100, 307 | "ix": 11 308 | }, 309 | "r": { 310 | "a": 0, 311 | "k": 0, 312 | "ix": 10 313 | }, 314 | "p": { 315 | "a": 1, 316 | "k": [ 317 | { 318 | "i": { 319 | "x": 0.833, 320 | "y": 0.833 321 | }, 322 | "o": { 323 | "x": 0.167, 324 | "y": 0.167 325 | }, 326 | "n": "0p833_0p833_0p167_0p167", 327 | "t": 24, 328 | "s": [ 329 | -133, 330 | 374, 331 | 0 332 | ], 333 | "e": [ 334 | 231, 335 | 203, 336 | 0 337 | ], 338 | "to": [ 339 | 60.6666679382324, 340 | -28.5, 341 | 0 342 | ], 343 | "ti": [ 344 | -60.6666679382324, 345 | 28.5, 346 | 0 347 | ] 348 | }, 349 | { 350 | "t": 48 351 | } 352 | ], 353 | "ix": 2 354 | }, 355 | "a": { 356 | "a": 0, 357 | "k": [ 358 | 0, 359 | 0, 360 | 0 361 | ], 362 | "ix": 1 363 | }, 364 | "s": { 365 | "a": 0, 366 | "k": [ 367 | 43, 368 | 43, 369 | 100 370 | ], 371 | "ix": 6 372 | } 373 | }, 374 | "ao": 0, 375 | "shapes": [ 376 | { 377 | "ty": "gr", 378 | "it": [ 379 | { 380 | "ind": 0, 381 | "ty": "sh", 382 | "ix": 1, 383 | "ks": { 384 | "a": 0, 385 | "k": { 386 | "i": [ 387 | [ 388 | 28, 389 | 0 390 | ], 391 | [ 392 | 34.935, 393 | -19.483 394 | ], 395 | [ 396 | 31.619, 397 | 18.821 398 | ], 399 | [ 400 | 33, 401 | -14 402 | ], 403 | [ 404 | 57, 405 | 29 406 | ], 407 | [ 408 | 0, 409 | 0 410 | ], 411 | [ 412 | 0, 413 | 0 414 | ], 415 | [ 416 | 0, 417 | 0 418 | ] 419 | ], 420 | "o": [ 421 | [ 422 | -28, 423 | 0 424 | ], 425 | [ 426 | -52, 427 | 29 428 | ], 429 | [ 430 | -42, 431 | -25 432 | ], 433 | [ 434 | -28.892, 435 | 12.257 436 | ], 437 | [ 438 | -57, 439 | -29 440 | ], 441 | [ 442 | 0, 443 | 0 444 | ], 445 | [ 446 | 0, 447 | 0 448 | ], 449 | [ 450 | 0, 451 | 0 452 | ] 453 | ], 454 | "v": [ 455 | [ 456 | 367.75, 457 | -97 458 | ], 459 | [ 460 | 277, 461 | -75 462 | ], 463 | [ 464 | 155, 465 | -82 466 | ], 467 | [ 468 | 35, 469 | -82 470 | ], 471 | [ 472 | -94, 473 | -82.326 474 | ], 475 | [ 476 | -200, 477 | -74 478 | ], 479 | [ 480 | -352.07, 481 | 320.209 482 | ], 483 | [ 484 | 499.162, 485 | 354.093 486 | ] 487 | ], 488 | "c": true 489 | }, 490 | "ix": 2 491 | }, 492 | "nm": "Trazado 1", 493 | "mn": "ADBE Vector Shape - Group", 494 | "hd": false 495 | }, 496 | { 497 | "ty": "fl", 498 | "c": { 499 | "a": 0, 500 | "k": [ 501 | 0.2, 502 | 0.588235294118, 503 | 0.733333333333, 504 | 1 505 | ], 506 | "ix": 4 507 | }, 508 | "o": { 509 | "a": 0, 510 | "k": 100, 511 | "ix": 5 512 | }, 513 | "r": 1, 514 | "nm": "Relleno 1", 515 | "mn": "ADBE Vector Graphic - Fill", 516 | "hd": false 517 | }, 518 | { 519 | "ty": "tr", 520 | "p": { 521 | "a": 0, 522 | "k": [ 523 | 0, 524 | 0 525 | ], 526 | "ix": 2 527 | }, 528 | "a": { 529 | "a": 0, 530 | "k": [ 531 | 0, 532 | 0 533 | ], 534 | "ix": 1 535 | }, 536 | "s": { 537 | "a": 0, 538 | "k": [ 539 | 100, 540 | 100 541 | ], 542 | "ix": 3 543 | }, 544 | "r": { 545 | "a": 0, 546 | "k": 0, 547 | "ix": 6 548 | }, 549 | "o": { 550 | "a": 0, 551 | "k": 100, 552 | "ix": 7 553 | }, 554 | "sk": { 555 | "a": 0, 556 | "k": 0, 557 | "ix": 4 558 | }, 559 | "sa": { 560 | "a": 0, 561 | "k": 0, 562 | "ix": 5 563 | }, 564 | "nm": "Transformar" 565 | } 566 | ], 567 | "nm": "Forma 1", 568 | "np": 3, 569 | "cix": 2, 570 | "ix": 1, 571 | "mn": "ADBE Vector Group", 572 | "hd": false 573 | } 574 | ], 575 | "ip": 0, 576 | "op": 144, 577 | "st": 0, 578 | "bm": 0 579 | } 580 | ] 581 | } 582 | ], 583 | "layers": [ 584 | { 585 | "ddd": 0, 586 | "ind": 1, 587 | "ty": 4, 588 | "nm": "Capa de formas 5", 589 | "sr": 1, 590 | "ks": { 591 | "o": { 592 | "a": 1, 593 | "k": [ 594 | { 595 | "i": { 596 | "x": [ 597 | 0.833 598 | ], 599 | "y": [ 600 | 0.833 601 | ] 602 | }, 603 | "o": { 604 | "x": [ 605 | 0.167 606 | ], 607 | "y": [ 608 | 0.167 609 | ] 610 | }, 611 | "n": [ 612 | "0p833_0p833_0p167_0p167" 613 | ], 614 | "t": 15, 615 | "s": [ 616 | 100 617 | ], 618 | "e": [ 619 | 0 620 | ] 621 | }, 622 | { 623 | "t": 16 624 | } 625 | ], 626 | "ix": 11 627 | }, 628 | "r": { 629 | "a": 0, 630 | "k": 0, 631 | "ix": 10 632 | }, 633 | "p": { 634 | "a": 1, 635 | "k": [ 636 | { 637 | "i": { 638 | "x": 0.833, 639 | "y": 0.833 640 | }, 641 | "o": { 642 | "x": 0.167, 643 | "y": 0.167 644 | }, 645 | "n": "0p833_0p833_0p167_0p167", 646 | "t": 0, 647 | "s": [ 648 | 199, 649 | -14, 650 | 0 651 | ], 652 | "e": [ 653 | 199, 654 | 156, 655 | 0 656 | ], 657 | "to": [ 658 | 0, 659 | 28.3333339691162, 660 | 0 661 | ], 662 | "ti": [ 663 | 0, 664 | -28.9375, 665 | 0 666 | ] 667 | }, 668 | { 669 | "i": { 670 | "x": 0.833, 671 | "y": 0.833 672 | }, 673 | "o": { 674 | "x": 0.167, 675 | "y": 0.167 676 | }, 677 | "n": "0p833_0p833_0p167_0p167", 678 | "t": 12, 679 | "s": [ 680 | 199, 681 | 156, 682 | 0 683 | ], 684 | "e": [ 685 | 199, 686 | 164.066, 687 | 0 688 | ], 689 | "to": [ 690 | 0, 691 | 4.54861259460449, 692 | 0 693 | ], 694 | "ti": [ 695 | 0, 696 | -2.45892143249512, 697 | 0 698 | ] 699 | }, 700 | { 701 | "i": { 702 | "x": 0.833, 703 | "y": 0.833 704 | }, 705 | "o": { 706 | "x": 0.167, 707 | "y": 0.167 708 | }, 709 | "n": "0p833_0p833_0p167_0p167", 710 | "t": 13, 711 | "s": [ 712 | 199, 713 | 164.066, 714 | 0 715 | ], 716 | "e": [ 717 | 199, 718 | 166.125, 719 | 0 720 | ], 721 | "to": [ 722 | 0, 723 | 13.1843204498291, 724 | 0 725 | ], 726 | "ti": [ 727 | 0, 728 | -1.72074222564697, 729 | 0 730 | ] 731 | }, 732 | { 733 | "i": { 734 | "x": 0.833, 735 | "y": 0.833 736 | }, 737 | "o": { 738 | "x": 0.167, 739 | "y": 0.167 740 | }, 741 | "n": "0p833_0p833_0p167_0p167", 742 | "t": 14, 743 | "s": [ 744 | 199, 745 | 166.125, 746 | 0 747 | ], 748 | "e": [ 749 | 199, 750 | 168.375, 751 | 0 752 | ], 753 | "to": [ 754 | 0, 755 | 2.04166674613953, 756 | 0 757 | ], 758 | "ti": [ 759 | 0, 760 | -0.04166666790843, 761 | 0 762 | ] 763 | }, 764 | { 765 | "t": 15 766 | } 767 | ], 768 | "ix": 2 769 | }, 770 | "a": { 771 | "a": 0, 772 | "k": [ 773 | -1, 774 | -182.375, 775 | 0 776 | ], 777 | "ix": 1 778 | }, 779 | "s": { 780 | "a": 1, 781 | "k": [ 782 | { 783 | "i": { 784 | "x": [ 785 | 0.833, 786 | 0.833, 787 | 0.833 788 | ], 789 | "y": [ 790 | 0.833, 791 | 0.833, 792 | 0.833 793 | ] 794 | }, 795 | "o": { 796 | "x": [ 797 | 0.167, 798 | 0.167, 799 | 0.167 800 | ], 801 | "y": [ 802 | 0.167, 803 | 0.167, 804 | 0.167 805 | ] 806 | }, 807 | "n": [ 808 | "0p833_0p833_0p167_0p167", 809 | "0p833_0p833_0p167_0p167", 810 | "0p833_0p833_0p167_0p167" 811 | ], 812 | "t": 0, 813 | "s": [ 814 | 50, 815 | 50, 816 | 100 817 | ], 818 | "e": [ 819 | 50, 820 | 94, 821 | 100 822 | ] 823 | }, 824 | { 825 | "i": { 826 | "x": [ 827 | 0.833, 828 | 0.833, 829 | 0.833 830 | ], 831 | "y": [ 832 | 0.833, 833 | 0.833, 834 | 0.833 835 | ] 836 | }, 837 | "o": { 838 | "x": [ 839 | 0.167, 840 | 0.167, 841 | 0.167 842 | ], 843 | "y": [ 844 | 0.167, 845 | 0.167, 846 | 0.167 847 | ] 848 | }, 849 | "n": [ 850 | "0p833_0p833_0p167_0p167", 851 | "0p833_0p833_0p167_0p167", 852 | "0p833_0p833_0p167_0p167" 853 | ], 854 | "t": 12, 855 | "s": [ 856 | 50, 857 | 94, 858 | 100 859 | ], 860 | "e": [ 861 | 70, 862 | 43.333, 863 | 100 864 | ] 865 | }, 866 | { 867 | "i": { 868 | "x": [ 869 | 0.833, 870 | 0.833, 871 | 0.833 872 | ], 873 | "y": [ 874 | 0.833, 875 | 0.833, 876 | 0.833 877 | ] 878 | }, 879 | "o": { 880 | "x": [ 881 | 0.167, 882 | 0.167, 883 | 0.167 884 | ], 885 | "y": [ 886 | 0.167, 887 | 0.167, 888 | 0.167 889 | ] 890 | }, 891 | "n": [ 892 | "0p833_0p833_0p167_0p167", 893 | "0p833_0p833_0p167_0p167", 894 | "0p833_0p833_0p167_0p167" 895 | ], 896 | "t": 13, 897 | "s": [ 898 | 70, 899 | 43.333, 900 | 100 901 | ], 902 | "e": [ 903 | 104.258, 904 | 32, 905 | 100 906 | ] 907 | }, 908 | { 909 | "i": { 910 | "x": [ 911 | 0.833, 912 | 0.833, 913 | 0.833 914 | ], 915 | "y": [ 916 | 0.833, 917 | 0.833, 918 | 0.833 919 | ] 920 | }, 921 | "o": { 922 | "x": [ 923 | 0.167, 924 | 0.167, 925 | 0.167 926 | ], 927 | "y": [ 928 | 0.167, 929 | 0.167, 930 | 0.167 931 | ] 932 | }, 933 | "n": [ 934 | "0p833_0p833_0p167_0p167", 935 | "0p833_0p833_0p167_0p167", 936 | "0p833_0p833_0p167_0p167" 937 | ], 938 | "t": 14, 939 | "s": [ 940 | 104.258, 941 | 32, 942 | 100 943 | ], 944 | "e": [ 945 | 212, 946 | 18, 947 | 100 948 | ] 949 | }, 950 | { 951 | "t": 15 952 | } 953 | ], 954 | "ix": 6 955 | } 956 | }, 957 | "ao": 0, 958 | "shapes": [ 959 | { 960 | "ty": "gr", 961 | "it": [ 962 | { 963 | "ind": 0, 964 | "ty": "sh", 965 | "ix": 1, 966 | "ks": { 967 | "a": 0, 968 | "k": { 969 | "i": [ 970 | [ 971 | 0.938, 972 | 0 973 | ], 974 | [ 975 | 0, 976 | -5.25 977 | ], 978 | [ 979 | -4.563, 980 | 0.125 981 | ], 982 | [ 983 | 0.108, 984 | 4.624 985 | ] 986 | ], 987 | "o": [ 988 | [ 989 | -0.813, 990 | 0.125 991 | ], 992 | [ 993 | 0, 994 | 4.813 995 | ], 996 | [ 997 | 4.563, 998 | -0.125 999 | ], 1000 | [ 1001 | -0.125, 1002 | -5.375 1003 | ] 1004 | ], 1005 | "v": [ 1006 | [ 1007 | -1.344, 1008 | -193.078 1009 | ], 1010 | [ 1011 | -8.75, 1012 | -180.5 1013 | ], 1014 | [ 1015 | -1.063, 1016 | -172.313 1017 | ], 1018 | [ 1019 | 6.938, 1020 | -180.188 1021 | ] 1022 | ], 1023 | "c": true 1024 | }, 1025 | "ix": 2 1026 | }, 1027 | "nm": "Trazado 1", 1028 | "mn": "ADBE Vector Shape - Group", 1029 | "hd": false 1030 | }, 1031 | { 1032 | "ty": "fl", 1033 | "c": { 1034 | "a": 0, 1035 | "k": [ 1036 | 0.317647058824, 1037 | 0.325490196078, 1038 | 0.341176470588, 1039 | 1 1040 | ], 1041 | "ix": 4 1042 | }, 1043 | "o": { 1044 | "a": 0, 1045 | "k": 100, 1046 | "ix": 5 1047 | }, 1048 | "r": 1, 1049 | "nm": "Relleno 1", 1050 | "mn": "ADBE Vector Graphic - Fill", 1051 | "hd": false 1052 | }, 1053 | { 1054 | "ty": "tr", 1055 | "p": { 1056 | "a": 0, 1057 | "k": [ 1058 | 0, 1059 | 0 1060 | ], 1061 | "ix": 2 1062 | }, 1063 | "a": { 1064 | "a": 0, 1065 | "k": [ 1066 | 0, 1067 | 0 1068 | ], 1069 | "ix": 1 1070 | }, 1071 | "s": { 1072 | "a": 0, 1073 | "k": [ 1074 | 100, 1075 | 100 1076 | ], 1077 | "ix": 3 1078 | }, 1079 | "r": { 1080 | "a": 0, 1081 | "k": 0, 1082 | "ix": 6 1083 | }, 1084 | "o": { 1085 | "a": 0, 1086 | "k": 100, 1087 | "ix": 7 1088 | }, 1089 | "sk": { 1090 | "a": 0, 1091 | "k": 0, 1092 | "ix": 4 1093 | }, 1094 | "sa": { 1095 | "a": 0, 1096 | "k": 0, 1097 | "ix": 5 1098 | }, 1099 | "nm": "Transformar" 1100 | } 1101 | ], 1102 | "nm": "Forma 1", 1103 | "np": 3, 1104 | "cix": 2, 1105 | "ix": 1, 1106 | "mn": "ADBE Vector Group", 1107 | "hd": false 1108 | } 1109 | ], 1110 | "ip": 0, 1111 | "op": 60, 1112 | "st": 0, 1113 | "bm": 0 1114 | }, 1115 | { 1116 | "ddd": 0, 1117 | "ind": 8, 1118 | "ty": 4, 1119 | "nm": "Capa de formas 3", 1120 | "sr": 1, 1121 | "ks": { 1122 | "o": { 1123 | "a": 1, 1124 | "k": [ 1125 | { 1126 | "i": { 1127 | "x": [ 1128 | 0.833 1129 | ], 1130 | "y": [ 1131 | 0.833 1132 | ] 1133 | }, 1134 | "o": { 1135 | "x": [ 1136 | 0.167 1137 | ], 1138 | "y": [ 1139 | 0.167 1140 | ] 1141 | }, 1142 | "n": [ 1143 | "0p833_0p833_0p167_0p167" 1144 | ], 1145 | "t": 46, 1146 | "s": [ 1147 | 0 1148 | ], 1149 | "e": [ 1150 | 100 1151 | ] 1152 | }, 1153 | { 1154 | "i": { 1155 | "x": [ 1156 | 0.833 1157 | ], 1158 | "y": [ 1159 | 0.833 1160 | ] 1161 | }, 1162 | "o": { 1163 | "x": [ 1164 | 0.167 1165 | ], 1166 | "y": [ 1167 | 0.167 1168 | ] 1169 | }, 1170 | "n": [ 1171 | "0p833_0p833_0p167_0p167" 1172 | ], 1173 | "t": 47, 1174 | "s": [ 1175 | 100 1176 | ], 1177 | "e": [ 1178 | 100 1179 | ] 1180 | }, 1181 | { 1182 | "t": 48 1183 | } 1184 | ], 1185 | "ix": 11 1186 | }, 1187 | "r": { 1188 | "a": 0, 1189 | "k": 0, 1190 | "ix": 10 1191 | }, 1192 | "p": { 1193 | "a": 1, 1194 | "k": [ 1195 | { 1196 | "i": { 1197 | "x": 0.833, 1198 | "y": 0.833 1199 | }, 1200 | "o": { 1201 | "x": 0.167, 1202 | "y": 0.167 1203 | }, 1204 | "n": "0p833_0p833_0p167_0p167", 1205 | "t": 47, 1206 | "s": [ 1207 | 199.98, 1208 | 168.25, 1209 | 0 1210 | ], 1211 | "e": [ 1212 | 199.98, 1213 | 158.037, 1214 | 0 1215 | ], 1216 | "to": [ 1217 | 0, 1218 | -0.20375619828701, 1219 | 0 1220 | ], 1221 | "ti": [ 1222 | 0, 1223 | 17.58864402771, 1224 | 0 1225 | ] 1226 | }, 1227 | { 1228 | "i": { 1229 | "x": 0.833, 1230 | "y": 0.833 1231 | }, 1232 | "o": { 1233 | "x": 0.167, 1234 | "y": 0.167 1235 | }, 1236 | "n": "0p833_0p833_0p167_0p167", 1237 | "t": 48, 1238 | "s": [ 1239 | 199.98, 1240 | 158.037, 1241 | 0 1242 | ], 1243 | "e": [ 1244 | 199.98, 1245 | -10, 1246 | 0 1247 | ], 1248 | "to": [ 1249 | -2.8421709430404e-14, 1250 | -50.4047393798828, 1251 | 0 1252 | ], 1253 | "ti": [ 1254 | 0, 1255 | 1.17485654354095, 1256 | 0 1257 | ] 1258 | }, 1259 | { 1260 | "t": 53 1261 | } 1262 | ], 1263 | "ix": 2 1264 | }, 1265 | "a": { 1266 | "a": 0, 1267 | "k": [ 1268 | -32, 1269 | -31, 1270 | 0 1271 | ], 1272 | "ix": 1 1273 | }, 1274 | "s": { 1275 | "a": 1, 1276 | "k": [ 1277 | { 1278 | "i": { 1279 | "x": [ 1280 | 0.833, 1281 | 0.833, 1282 | 0.833 1283 | ], 1284 | "y": [ 1285 | 0.833, 1286 | 0.833, 1287 | 0.833 1288 | ] 1289 | }, 1290 | "o": { 1291 | "x": [ 1292 | 0.167, 1293 | 0.167, 1294 | 0.167 1295 | ], 1296 | "y": [ 1297 | 0.167, 1298 | 0.167, 1299 | 0.167 1300 | ] 1301 | }, 1302 | "n": [ 1303 | "0p833_0p833_0p167_0p167", 1304 | "0p833_0p833_0p167_0p167", 1305 | "0p833_0p833_0p167_0p167" 1306 | ], 1307 | "t": 47, 1308 | "s": [ 1309 | -4, 1310 | 1, 1311 | 100 1312 | ], 1313 | "e": [ 1314 | 1.5, 1315 | 4, 1316 | 100 1317 | ] 1318 | }, 1319 | { 1320 | "i": { 1321 | "x": [ 1322 | 0.833, 1323 | 0.833, 1324 | 0.833 1325 | ], 1326 | "y": [ 1327 | 0.833, 1328 | 0.833, 1329 | 0.833 1330 | ] 1331 | }, 1332 | "o": { 1333 | "x": [ 1334 | 0.167, 1335 | 0.167, 1336 | 0.167 1337 | ], 1338 | "y": [ 1339 | 0.167, 1340 | 0.167, 1341 | 0.167 1342 | ] 1343 | }, 1344 | "n": [ 1345 | "0p833_0p833_0p167_0p167", 1346 | "0p833_0p833_0p167_0p167", 1347 | "0p833_0p833_0p167_0p167" 1348 | ], 1349 | "t": 48, 1350 | "s": [ 1351 | 1.5, 1352 | 4, 1353 | 100 1354 | ], 1355 | "e": [ 1356 | 2, 1357 | 3, 1358 | 100 1359 | ] 1360 | }, 1361 | { 1362 | "t": 53 1363 | } 1364 | ], 1365 | "ix": 6 1366 | } 1367 | }, 1368 | "ao": 0, 1369 | "shapes": [ 1370 | { 1371 | "ty": "gr", 1372 | "it": [ 1373 | { 1374 | "d": 1, 1375 | "ty": "el", 1376 | "s": { 1377 | "a": 0, 1378 | "k": [ 1379 | 308, 1380 | 308 1381 | ], 1382 | "ix": 2 1383 | }, 1384 | "p": { 1385 | "a": 0, 1386 | "k": [ 1387 | 0, 1388 | 0 1389 | ], 1390 | "ix": 3 1391 | }, 1392 | "nm": "Trazado elíptico 1", 1393 | "mn": "ADBE Vector Shape - Ellipse", 1394 | "hd": false 1395 | }, 1396 | { 1397 | "ty": "fl", 1398 | "c": { 1399 | "a": 0, 1400 | "k": [ 1401 | 0.317647058824, 1402 | 0.325490196078, 1403 | 0.341176470588, 1404 | 1 1405 | ], 1406 | "ix": 4 1407 | }, 1408 | "o": { 1409 | "a": 0, 1410 | "k": 100, 1411 | "ix": 5 1412 | }, 1413 | "r": 1, 1414 | "nm": "Relleno 1", 1415 | "mn": "ADBE Vector Graphic - Fill", 1416 | "hd": false 1417 | }, 1418 | { 1419 | "ty": "tr", 1420 | "p": { 1421 | "a": 0, 1422 | "k": [ 1423 | -31, 1424 | -31 1425 | ], 1426 | "ix": 2 1427 | }, 1428 | "a": { 1429 | "a": 0, 1430 | "k": [ 1431 | 0, 1432 | 0 1433 | ], 1434 | "ix": 1 1435 | }, 1436 | "s": { 1437 | "a": 0, 1438 | "k": [ 1439 | 100, 1440 | 100 1441 | ], 1442 | "ix": 3 1443 | }, 1444 | "r": { 1445 | "a": 0, 1446 | "k": 0, 1447 | "ix": 6 1448 | }, 1449 | "o": { 1450 | "a": 0, 1451 | "k": 100, 1452 | "ix": 7 1453 | }, 1454 | "sk": { 1455 | "a": 0, 1456 | "k": 0, 1457 | "ix": 4 1458 | }, 1459 | "sa": { 1460 | "a": 0, 1461 | "k": 0, 1462 | "ix": 5 1463 | }, 1464 | "nm": "Transformar" 1465 | } 1466 | ], 1467 | "nm": "Elipse 1", 1468 | "np": 3, 1469 | "cix": 2, 1470 | "ix": 1, 1471 | "mn": "ADBE Vector Group", 1472 | "hd": false 1473 | } 1474 | ], 1475 | "ip": 0, 1476 | "op": 60, 1477 | "st": 0, 1478 | "bm": 0 1479 | }, 1480 | { 1481 | "ddd": 0, 1482 | "ind": 9, 1483 | "ty": 4, 1484 | "nm": "Capa de formas 4", 1485 | "sr": 1, 1486 | "ks": { 1487 | "o": { 1488 | "a": 0, 1489 | "k": 100, 1490 | "ix": 11 1491 | }, 1492 | "r": { 1493 | "a": 0, 1494 | "k": 0, 1495 | "ix": 10 1496 | }, 1497 | "p": { 1498 | "a": 0, 1499 | "k": [ 1500 | 199, 1501 | 253, 1502 | 0 1503 | ], 1504 | "ix": 2 1505 | }, 1506 | "a": { 1507 | "a": 0, 1508 | "k": [ 1509 | -32, 1510 | -31, 1511 | 0 1512 | ], 1513 | "ix": 1 1514 | }, 1515 | "s": { 1516 | "a": 0, 1517 | "k": [ 1518 | 55, 1519 | 55, 1520 | 100 1521 | ], 1522 | "ix": 6 1523 | } 1524 | }, 1525 | "ao": 0, 1526 | "shapes": [ 1527 | { 1528 | "ty": "gr", 1529 | "it": [ 1530 | { 1531 | "d": 1, 1532 | "ty": "el", 1533 | "s": { 1534 | "a": 0, 1535 | "k": [ 1536 | 308, 1537 | 308 1538 | ], 1539 | "ix": 2 1540 | }, 1541 | "p": { 1542 | "a": 0, 1543 | "k": [ 1544 | 0, 1545 | 0 1546 | ], 1547 | "ix": 3 1548 | }, 1549 | "nm": "Trazado elíptico 1", 1550 | "mn": "ADBE Vector Shape - Ellipse", 1551 | "hd": false 1552 | }, 1553 | { 1554 | "ty": "st", 1555 | "c": { 1556 | "a": 0, 1557 | "k": [ 1558 | 0.317093434053, 1559 | 0.325121112898, 1560 | 0.341176470588, 1561 | 1 1562 | ], 1563 | "ix": 3 1564 | }, 1565 | "o": { 1566 | "a": 0, 1567 | "k": 100, 1568 | "ix": 4 1569 | }, 1570 | "w": { 1571 | "a": 0, 1572 | "k": 10, 1573 | "ix": 5 1574 | }, 1575 | "lc": 1, 1576 | "lj": 1, 1577 | "ml": 4, 1578 | "nm": "Trazo 1", 1579 | "mn": "ADBE Vector Graphic - Stroke", 1580 | "hd": false 1581 | }, 1582 | { 1583 | "ty": "tr", 1584 | "p": { 1585 | "a": 0, 1586 | "k": [ 1587 | -31, 1588 | -31 1589 | ], 1590 | "ix": 2 1591 | }, 1592 | "a": { 1593 | "a": 0, 1594 | "k": [ 1595 | 0, 1596 | 0 1597 | ], 1598 | "ix": 1 1599 | }, 1600 | "s": { 1601 | "a": 0, 1602 | "k": [ 1603 | 100, 1604 | 100 1605 | ], 1606 | "ix": 3 1607 | }, 1608 | "r": { 1609 | "a": 0, 1610 | "k": 0, 1611 | "ix": 6 1612 | }, 1613 | "o": { 1614 | "a": 0, 1615 | "k": 100, 1616 | "ix": 7 1617 | }, 1618 | "sk": { 1619 | "a": 0, 1620 | "k": 0, 1621 | "ix": 4 1622 | }, 1623 | "sa": { 1624 | "a": 0, 1625 | "k": 0, 1626 | "ix": 5 1627 | }, 1628 | "nm": "Transformar" 1629 | } 1630 | ], 1631 | "nm": "Elipse 1", 1632 | "np": 3, 1633 | "cix": 2, 1634 | "ix": 1, 1635 | "mn": "ADBE Vector Group", 1636 | "hd": false 1637 | }, 1638 | { 1639 | "ty": "tm", 1640 | "s": { 1641 | "a": 1, 1642 | "k": [ 1643 | { 1644 | "i": { 1645 | "x": [ 1646 | 0.833 1647 | ], 1648 | "y": [ 1649 | 0.833 1650 | ] 1651 | }, 1652 | "o": { 1653 | "x": [ 1654 | 0.167 1655 | ], 1656 | "y": [ 1657 | 0.167 1658 | ] 1659 | }, 1660 | "n": [ 1661 | "0p833_0p833_0p167_0p167" 1662 | ], 1663 | "t": 12, 1664 | "s": [ 1665 | 50 1666 | ], 1667 | "e": [ 1668 | 100 1669 | ] 1670 | }, 1671 | { 1672 | "i": { 1673 | "x": [ 1674 | 0.833 1675 | ], 1676 | "y": [ 1677 | 0.833 1678 | ] 1679 | }, 1680 | "o": { 1681 | "x": [ 1682 | 0.167 1683 | ], 1684 | "y": [ 1685 | 0.167 1686 | ] 1687 | }, 1688 | "n": [ 1689 | "0p833_0p833_0p167_0p167" 1690 | ], 1691 | "t": 24, 1692 | "s": [ 1693 | 100 1694 | ], 1695 | "e": [ 1696 | 50 1697 | ] 1698 | }, 1699 | { 1700 | "t": 48 1701 | } 1702 | ], 1703 | "ix": 1 1704 | }, 1705 | "e": { 1706 | "a": 1, 1707 | "k": [ 1708 | { 1709 | "i": { 1710 | "x": [ 1711 | 0.833 1712 | ], 1713 | "y": [ 1714 | 0.833 1715 | ] 1716 | }, 1717 | "o": { 1718 | "x": [ 1719 | 0.167 1720 | ], 1721 | "y": [ 1722 | 0.167 1723 | ] 1724 | }, 1725 | "n": [ 1726 | "0p833_0p833_0p167_0p167" 1727 | ], 1728 | "t": 12, 1729 | "s": [ 1730 | 50 1731 | ], 1732 | "e": [ 1733 | 0 1734 | ] 1735 | }, 1736 | { 1737 | "i": { 1738 | "x": [ 1739 | 0.833 1740 | ], 1741 | "y": [ 1742 | 0.833 1743 | ] 1744 | }, 1745 | "o": { 1746 | "x": [ 1747 | 0.167 1748 | ], 1749 | "y": [ 1750 | 0.167 1751 | ] 1752 | }, 1753 | "n": [ 1754 | "0p833_0p833_0p167_0p167" 1755 | ], 1756 | "t": 24, 1757 | "s": [ 1758 | 0 1759 | ], 1760 | "e": [ 1761 | 50 1762 | ] 1763 | }, 1764 | { 1765 | "t": 48 1766 | } 1767 | ], 1768 | "ix": 2 1769 | }, 1770 | "o": { 1771 | "a": 0, 1772 | "k": 180, 1773 | "ix": 3 1774 | }, 1775 | "m": 1, 1776 | "ix": 2, 1777 | "nm": "Recortar trazados 1", 1778 | "mn": "ADBE Vector Filter - Trim", 1779 | "hd": false 1780 | } 1781 | ], 1782 | "ip": 0, 1783 | "op": 60, 1784 | "st": 0, 1785 | "bm": 0 1786 | }, 1787 | { 1788 | "ddd": 0, 1789 | "ind": 10, 1790 | "ty": 4, 1791 | "nm": "Capa de formas 1", 1792 | "td": 1, 1793 | "sr": 1, 1794 | "ks": { 1795 | "o": { 1796 | "a": 0, 1797 | "k": 100, 1798 | "ix": 11 1799 | }, 1800 | "r": { 1801 | "a": 0, 1802 | "k": 0, 1803 | "ix": 10 1804 | }, 1805 | "p": { 1806 | "a": 0, 1807 | "k": [ 1808 | 199, 1809 | 253, 1810 | 0 1811 | ], 1812 | "ix": 2 1813 | }, 1814 | "a": { 1815 | "a": 0, 1816 | "k": [ 1817 | -32, 1818 | -31, 1819 | 0 1820 | ], 1821 | "ix": 1 1822 | }, 1823 | "s": { 1824 | "a": 0, 1825 | "k": [ 1826 | 50, 1827 | 50, 1828 | 100 1829 | ], 1830 | "ix": 6 1831 | } 1832 | }, 1833 | "ao": 0, 1834 | "shapes": [ 1835 | { 1836 | "ty": "gr", 1837 | "it": [ 1838 | { 1839 | "d": 1, 1840 | "ty": "el", 1841 | "s": { 1842 | "a": 0, 1843 | "k": [ 1844 | 308, 1845 | 308 1846 | ], 1847 | "ix": 2 1848 | }, 1849 | "p": { 1850 | "a": 0, 1851 | "k": [ 1852 | 0, 1853 | 0 1854 | ], 1855 | "ix": 3 1856 | }, 1857 | "nm": "Trazado elíptico 1", 1858 | "mn": "ADBE Vector Shape - Ellipse", 1859 | "hd": false 1860 | }, 1861 | { 1862 | "ty": "fl", 1863 | "c": { 1864 | "a": 0, 1865 | "k": [ 1866 | 0.913725490196, 1867 | 0.347995563582, 1868 | 0.03941561007, 1869 | 1 1870 | ], 1871 | "ix": 4 1872 | }, 1873 | "o": { 1874 | "a": 0, 1875 | "k": 100, 1876 | "ix": 5 1877 | }, 1878 | "r": 1, 1879 | "nm": "Relleno 1", 1880 | "mn": "ADBE Vector Graphic - Fill", 1881 | "hd": false 1882 | }, 1883 | { 1884 | "ty": "tr", 1885 | "p": { 1886 | "a": 0, 1887 | "k": [ 1888 | -31, 1889 | -31 1890 | ], 1891 | "ix": 2 1892 | }, 1893 | "a": { 1894 | "a": 0, 1895 | "k": [ 1896 | 0, 1897 | 0 1898 | ], 1899 | "ix": 1 1900 | }, 1901 | "s": { 1902 | "a": 0, 1903 | "k": [ 1904 | 100, 1905 | 100 1906 | ], 1907 | "ix": 3 1908 | }, 1909 | "r": { 1910 | "a": 0, 1911 | "k": 0, 1912 | "ix": 6 1913 | }, 1914 | "o": { 1915 | "a": 0, 1916 | "k": 100, 1917 | "ix": 7 1918 | }, 1919 | "sk": { 1920 | "a": 0, 1921 | "k": 0, 1922 | "ix": 4 1923 | }, 1924 | "sa": { 1925 | "a": 0, 1926 | "k": 0, 1927 | "ix": 5 1928 | }, 1929 | "nm": "Transformar" 1930 | } 1931 | ], 1932 | "nm": "Elipse 1", 1933 | "np": 3, 1934 | "cix": 2, 1935 | "ix": 1, 1936 | "mn": "ADBE Vector Group", 1937 | "hd": false 1938 | } 1939 | ], 1940 | "ip": 0, 1941 | "op": 60, 1942 | "st": 0, 1943 | "bm": 0 1944 | }, 1945 | { 1946 | "ddd": 0, 1947 | "ind": 11, 1948 | "ty": 0, 1949 | "nm": "Precomp. 1", 1950 | "tt": 1, 1951 | "refId": "comp_0", 1952 | "sr": 1, 1953 | "ks": { 1954 | "o": { 1955 | "a": 0, 1956 | "k": 100, 1957 | "ix": 11 1958 | }, 1959 | "r": { 1960 | "a": 0, 1961 | "k": 0, 1962 | "ix": 10 1963 | }, 1964 | "p": { 1965 | "a": 0, 1966 | "k": [ 1967 | 200, 1968 | 200, 1969 | 0 1970 | ], 1971 | "ix": 2 1972 | }, 1973 | "a": { 1974 | "a": 0, 1975 | "k": [ 1976 | 200, 1977 | 200, 1978 | 0 1979 | ], 1980 | "ix": 1 1981 | }, 1982 | "s": { 1983 | "a": 0, 1984 | "k": [ 1985 | 100, 1986 | 100, 1987 | 100 1988 | ], 1989 | "ix": 6 1990 | } 1991 | }, 1992 | "ao": 0, 1993 | "w": 400, 1994 | "h": 400, 1995 | "ip": 0, 1996 | "op": 144, 1997 | "st": 0, 1998 | "bm": 0 1999 | } 2000 | ] 2001 | } -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/res/raw/music_animation.json: -------------------------------------------------------------------------------- 1 | { 2 | "assets": [], 3 | "layers": [ 4 | { 5 | "ddd": 0, 6 | "ind": 0, 7 | "ty": 4, 8 | "nm": "形状图层 3", 9 | "ks": { 10 | "o": { 11 | "k": [ 12 | { 13 | "i": { 14 | "x": [ 15 | 0.833 16 | ], 17 | "y": [ 18 | 0.833 19 | ] 20 | }, 21 | "o": { 22 | "x": [ 23 | 0.167 24 | ], 25 | "y": [ 26 | 0.167 27 | ] 28 | }, 29 | "n": [ 30 | "0p833_0p833_0p167_0p167" 31 | ], 32 | "t": 42, 33 | "s": [ 34 | 100 35 | ], 36 | "e": [ 37 | 0 38 | ] 39 | }, 40 | { 41 | "t": 46 42 | } 43 | ] 44 | }, 45 | "r": { 46 | "k": 0 47 | }, 48 | "p": { 49 | "k": [ 50 | 96.5, 51 | 77.5, 52 | 0 53 | ] 54 | }, 55 | "a": { 56 | "k": [ 57 | 0, 58 | 0, 59 | 0 60 | ] 61 | }, 62 | "s": { 63 | "k": [ 64 | 200, 65 | 200, 66 | 100 67 | ] 68 | } 69 | }, 70 | "ao": 0, 71 | "shapes": [ 72 | { 73 | "ty": "gr", 74 | "it": [ 75 | { 76 | "ind": 0, 77 | "ty": "sh", 78 | "ks": { 79 | "k": { 80 | "i": [ 81 | [ 82 | 0, 83 | 0 84 | ], 85 | [ 86 | 0, 87 | 0 88 | ] 89 | ], 90 | "o": [ 91 | [ 92 | 0, 93 | 0 94 | ], 95 | [ 96 | 0, 97 | 0 98 | ] 99 | ], 100 | "v": [ 101 | [ 102 | 1, 103 | -17.5 104 | ], 105 | [ 106 | 9, 107 | -20 108 | ] 109 | ], 110 | "c": false 111 | } 112 | }, 113 | "nm": "路径 1", 114 | "mn": "ADBE Vector Shape - Group" 115 | }, 116 | { 117 | "ty": "tm", 118 | "s": { 119 | "k": [ 120 | { 121 | "i": { 122 | "x": [ 123 | 0.833 124 | ], 125 | "y": [ 126 | 0.833 127 | ] 128 | }, 129 | "o": { 130 | "x": [ 131 | 0.167 132 | ], 133 | "y": [ 134 | 0.167 135 | ] 136 | }, 137 | "n": [ 138 | "0p833_0p833_0p167_0p167" 139 | ], 140 | "t": 42, 141 | "s": [ 142 | 0 143 | ], 144 | "e": [ 145 | 96 146 | ] 147 | }, 148 | { 149 | "t": 43 150 | } 151 | ], 152 | "ix": 1 153 | }, 154 | "e": { 155 | "k": [ 156 | { 157 | "i": { 158 | "x": [ 159 | 0.833 160 | ], 161 | "y": [ 162 | 0.833 163 | ] 164 | }, 165 | "o": { 166 | "x": [ 167 | 0.167 168 | ], 169 | "y": [ 170 | 0.167 171 | ] 172 | }, 173 | "n": [ 174 | "0p833_0p833_0p167_0p167" 175 | ], 176 | "t": 39, 177 | "s": [ 178 | 0 179 | ], 180 | "e": [ 181 | 100 182 | ] 183 | }, 184 | { 185 | "t": 41 186 | } 187 | ], 188 | "ix": 2 189 | }, 190 | "o": { 191 | "k": 0, 192 | "ix": 3 193 | }, 194 | "m": 1, 195 | "ix": 2, 196 | "nm": "修剪路径 1", 197 | "mn": "ADBE Vector Filter - Trim" 198 | }, 199 | { 200 | "ty": "st", 201 | "c": { 202 | "k": [ 203 | 1, 204 | 1, 205 | 1, 206 | 1 207 | ] 208 | }, 209 | "o": { 210 | "k": 100 211 | }, 212 | "w": { 213 | "k": 4 214 | }, 215 | "lc": 2, 216 | "lj": 2, 217 | "nm": "描边 1", 218 | "mn": "ADBE Vector Graphic - Stroke" 219 | }, 220 | { 221 | "ty": "fl", 222 | "c": { 223 | "k": [ 224 | 1, 225 | 1, 226 | 1, 227 | 1 228 | ] 229 | }, 230 | "o": { 231 | "k": 0 232 | }, 233 | "nm": "填充 1", 234 | "mn": "ADBE Vector Graphic - Fill" 235 | }, 236 | { 237 | "ty": "tr", 238 | "p": { 239 | "k": [ 240 | 0, 241 | 0 242 | ], 243 | "ix": 2 244 | }, 245 | "a": { 246 | "k": [ 247 | 0, 248 | 0 249 | ], 250 | "ix": 1 251 | }, 252 | "s": { 253 | "k": [ 254 | 100, 255 | 100 256 | ], 257 | "ix": 3 258 | }, 259 | "r": { 260 | "k": 0, 261 | "ix": 6 262 | }, 263 | "o": { 264 | "k": 100, 265 | "ix": 7 266 | }, 267 | "sk": { 268 | "k": 0, 269 | "ix": 4 270 | }, 271 | "sa": { 272 | "k": 0, 273 | "ix": 5 274 | }, 275 | "nm": "变换" 276 | } 277 | ], 278 | "nm": "形状 3", 279 | "np": 4, 280 | "mn": "ADBE Vector Group" 281 | }, 282 | { 283 | "ty": "gr", 284 | "it": [ 285 | { 286 | "ind": 0, 287 | "ty": "sh", 288 | "ks": { 289 | "k": { 290 | "i": [ 291 | [ 292 | 0, 293 | 0 294 | ], 295 | [ 296 | 0, 297 | 0 298 | ] 299 | ], 300 | "o": [ 301 | [ 302 | 0, 303 | 0 304 | ], 305 | [ 306 | 0, 307 | 0 308 | ] 309 | ], 310 | "v": [ 311 | [ 312 | -1.75, 313 | -29.5 314 | ], 315 | [ 316 | -3.5, 317 | -20.75 318 | ] 319 | ], 320 | "c": false 321 | } 322 | }, 323 | "nm": "路径 1", 324 | "mn": "ADBE Vector Shape - Group" 325 | }, 326 | { 327 | "ty": "tm", 328 | "s": { 329 | "k": [ 330 | { 331 | "i": { 332 | "x": [ 333 | 0.833 334 | ], 335 | "y": [ 336 | 0.833 337 | ] 338 | }, 339 | "o": { 340 | "x": [ 341 | 0.167 342 | ], 343 | "y": [ 344 | 0.167 345 | ] 346 | }, 347 | "n": [ 348 | "0p833_0p833_0p167_0p167" 349 | ], 350 | "t": 39, 351 | "s": [ 352 | 100 353 | ], 354 | "e": [ 355 | 0 356 | ] 357 | }, 358 | { 359 | "t": 41 360 | } 361 | ], 362 | "ix": 1 363 | }, 364 | "e": { 365 | "k": [ 366 | { 367 | "i": { 368 | "x": [ 369 | 0.833 370 | ], 371 | "y": [ 372 | 0.833 373 | ] 374 | }, 375 | "o": { 376 | "x": [ 377 | 0.167 378 | ], 379 | "y": [ 380 | 0.167 381 | ] 382 | }, 383 | "n": [ 384 | "0p833_0p833_0p167_0p167" 385 | ], 386 | "t": 42, 387 | "s": [ 388 | 100 389 | ], 390 | "e": [ 391 | 4 392 | ] 393 | }, 394 | { 395 | "t": 43 396 | } 397 | ], 398 | "ix": 2 399 | }, 400 | "o": { 401 | "k": 0, 402 | "ix": 3 403 | }, 404 | "m": 1, 405 | "ix": 2, 406 | "nm": "修剪路径 1", 407 | "mn": "ADBE Vector Filter - Trim" 408 | }, 409 | { 410 | "ty": "st", 411 | "c": { 412 | "k": [ 413 | 1, 414 | 1, 415 | 1, 416 | 1 417 | ] 418 | }, 419 | "o": { 420 | "k": 100 421 | }, 422 | "w": { 423 | "k": 4 424 | }, 425 | "lc": 2, 426 | "lj": 2, 427 | "nm": "描边 1", 428 | "mn": "ADBE Vector Graphic - Stroke" 429 | }, 430 | { 431 | "ty": "fl", 432 | "c": { 433 | "k": [ 434 | 1, 435 | 1, 436 | 1, 437 | 1 438 | ] 439 | }, 440 | "o": { 441 | "k": 0 442 | }, 443 | "nm": "填充 1", 444 | "mn": "ADBE Vector Graphic - Fill" 445 | }, 446 | { 447 | "ty": "tr", 448 | "p": { 449 | "k": [ 450 | 0, 451 | 0 452 | ], 453 | "ix": 2 454 | }, 455 | "a": { 456 | "k": [ 457 | 0, 458 | 0 459 | ], 460 | "ix": 1 461 | }, 462 | "s": { 463 | "k": [ 464 | 100, 465 | 100 466 | ], 467 | "ix": 3 468 | }, 469 | "r": { 470 | "k": 0, 471 | "ix": 6 472 | }, 473 | "o": { 474 | "k": 100, 475 | "ix": 7 476 | }, 477 | "sk": { 478 | "k": 0, 479 | "ix": 4 480 | }, 481 | "sa": { 482 | "k": 0, 483 | "ix": 5 484 | }, 485 | "nm": "变换" 486 | } 487 | ], 488 | "nm": "形状 2", 489 | "np": 4, 490 | "mn": "ADBE Vector Group" 491 | }, 492 | { 493 | "ty": "gr", 494 | "it": [ 495 | { 496 | "ind": 0, 497 | "ty": "sh", 498 | "ks": { 499 | "k": { 500 | "i": [ 501 | [ 502 | 0, 503 | 0 504 | ], 505 | [ 506 | 0, 507 | 0 508 | ] 509 | ], 510 | "o": [ 511 | [ 512 | 0, 513 | 0 514 | ], 515 | [ 516 | 0, 517 | 0 518 | ] 519 | ], 520 | "v": [ 521 | [ 522 | -8.5, 523 | -19.5 524 | ], 525 | [ 526 | -14.5, 527 | -28.25 528 | ] 529 | ], 530 | "c": false 531 | } 532 | }, 533 | "nm": "路径 1", 534 | "mn": "ADBE Vector Shape - Group" 535 | }, 536 | { 537 | "ty": "tm", 538 | "s": { 539 | "k": [ 540 | { 541 | "i": { 542 | "x": [ 543 | 0.833 544 | ], 545 | "y": [ 546 | 0.833 547 | ] 548 | }, 549 | "o": { 550 | "x": [ 551 | 0.167 552 | ], 553 | "y": [ 554 | 0.167 555 | ] 556 | }, 557 | "n": [ 558 | "0p833_0p833_0p167_0p167" 559 | ], 560 | "t": 42, 561 | "s": [ 562 | 0 563 | ], 564 | "e": [ 565 | 93 566 | ] 567 | }, 568 | { 569 | "t": 43 570 | } 571 | ], 572 | "ix": 1 573 | }, 574 | "e": { 575 | "k": [ 576 | { 577 | "i": { 578 | "x": [ 579 | 0.833 580 | ], 581 | "y": [ 582 | 0.833 583 | ] 584 | }, 585 | "o": { 586 | "x": [ 587 | 0.167 588 | ], 589 | "y": [ 590 | 0.167 591 | ] 592 | }, 593 | "n": [ 594 | "0p833_0p833_0p167_0p167" 595 | ], 596 | "t": 39, 597 | "s": [ 598 | 0 599 | ], 600 | "e": [ 601 | 100 602 | ] 603 | }, 604 | { 605 | "t": 41 606 | } 607 | ], 608 | "ix": 2 609 | }, 610 | "o": { 611 | "k": 0, 612 | "ix": 3 613 | }, 614 | "m": 1, 615 | "ix": 2, 616 | "nm": "修剪路径 1", 617 | "mn": "ADBE Vector Filter - Trim" 618 | }, 619 | { 620 | "ty": "st", 621 | "c": { 622 | "k": [ 623 | 1, 624 | 1, 625 | 1, 626 | 1 627 | ] 628 | }, 629 | "o": { 630 | "k": 100 631 | }, 632 | "w": { 633 | "k": 4 634 | }, 635 | "lc": 2, 636 | "lj": 2, 637 | "nm": "描边 1", 638 | "mn": "ADBE Vector Graphic - Stroke" 639 | }, 640 | { 641 | "ty": "fl", 642 | "c": { 643 | "k": [ 644 | 1, 645 | 1, 646 | 1, 647 | 1 648 | ] 649 | }, 650 | "o": { 651 | "k": 0 652 | }, 653 | "nm": "填充 1", 654 | "mn": "ADBE Vector Graphic - Fill" 655 | }, 656 | { 657 | "ty": "tr", 658 | "p": { 659 | "k": [ 660 | 0, 661 | 0 662 | ], 663 | "ix": 2 664 | }, 665 | "a": { 666 | "k": [ 667 | 0, 668 | 0 669 | ], 670 | "ix": 1 671 | }, 672 | "s": { 673 | "k": [ 674 | 100, 675 | 100 676 | ], 677 | "ix": 3 678 | }, 679 | "r": { 680 | "k": 0, 681 | "ix": 6 682 | }, 683 | "o": { 684 | "k": 100, 685 | "ix": 7 686 | }, 687 | "sk": { 688 | "k": 0, 689 | "ix": 4 690 | }, 691 | "sa": { 692 | "k": 0, 693 | "ix": 5 694 | }, 695 | "nm": "变换" 696 | } 697 | ], 698 | "nm": "形状 1", 699 | "np": 4, 700 | "mn": "ADBE Vector Group" 701 | } 702 | ], 703 | "ip": 32, 704 | "op": 47, 705 | "st": 5, 706 | "bm": 0, 707 | "sr": 1 708 | }, 709 | { 710 | "ddd": 0, 711 | "ind": 1, 712 | "ty": 4, 713 | "nm": "形状图层 2", 714 | "ks": { 715 | "o": { 716 | "k": 100 717 | }, 718 | "r": { 719 | "k": 0 720 | }, 721 | "p": { 722 | "k": [ 723 | 87, 724 | 90, 725 | 0 726 | ] 727 | }, 728 | "a": { 729 | "k": [ 730 | 0, 731 | 0, 732 | 0 733 | ] 734 | }, 735 | "s": { 736 | "k": [ 737 | 165, 738 | 165, 739 | 100 740 | ] 741 | } 742 | }, 743 | "ao": 0, 744 | "shapes": [ 745 | { 746 | "ty": "gr", 747 | "it": [ 748 | { 749 | "ind": 0, 750 | "ty": "sh", 751 | "ks": { 752 | "k": { 753 | "i": [ 754 | [ 755 | 0, 756 | 0 757 | ], 758 | [ 759 | 0, 760 | 0 761 | ], 762 | [ 763 | 0, 764 | 0 765 | ], 766 | [ 767 | 0, 768 | 0 769 | ], 770 | [ 771 | 0, 772 | 0.25 773 | ], 774 | [ 775 | 0, 776 | 0 777 | ], 778 | [ 779 | 0, 780 | 0 781 | ] 782 | ], 783 | "o": [ 784 | [ 785 | 0, 786 | 0 787 | ], 788 | [ 789 | 0, 790 | 0 791 | ], 792 | [ 793 | 0, 794 | 0 795 | ], 796 | [ 797 | 0, 798 | 0 799 | ], 800 | [ 801 | 0, 802 | -0.25 803 | ], 804 | [ 805 | 0, 806 | 0 807 | ], 808 | [ 809 | 0, 810 | 0 811 | ] 812 | ], 813 | "v": [ 814 | [ 815 | 4.47, 816 | -21.212 817 | ], 818 | [ 819 | -27.03, 820 | -20.962 821 | ], 822 | [ 823 | -27.152, 824 | 38.125 825 | ], 826 | [ 827 | 31.295, 828 | 38.121 829 | ], 830 | [ 831 | 31.242, 832 | -21.428 833 | ], 834 | [ 835 | 14.977, 836 | -21.583 837 | ], 838 | [ 839 | 14.909, 840 | 13.78 841 | ] 842 | ], 843 | "c": false 844 | } 845 | }, 846 | "nm": "路径 1", 847 | "mn": "ADBE Vector Shape - Group" 848 | }, 849 | { 850 | "ty": "st", 851 | "c": { 852 | "k": [ 853 | 1, 854 | 1, 855 | 1, 856 | 1 857 | ] 858 | }, 859 | "o": { 860 | "k": 100 861 | }, 862 | "w": { 863 | "k": 8 864 | }, 865 | "lc": 2, 866 | "lj": 2, 867 | "nm": "描边 1", 868 | "mn": "ADBE Vector Graphic - Stroke" 869 | }, 870 | { 871 | "ty": "tr", 872 | "p": { 873 | "k": [ 874 | 0, 875 | 0 876 | ], 877 | "ix": 2 878 | }, 879 | "a": { 880 | "k": [ 881 | 0, 882 | 0 883 | ], 884 | "ix": 1 885 | }, 886 | "s": { 887 | "k": [ 888 | 100, 889 | 100 890 | ], 891 | "ix": 3 892 | }, 893 | "r": { 894 | "k": 0, 895 | "ix": 6 896 | }, 897 | "o": { 898 | "k": 100, 899 | "ix": 7 900 | }, 901 | "sk": { 902 | "k": 0, 903 | "ix": 4 904 | }, 905 | "sa": { 906 | "k": 0, 907 | "ix": 5 908 | }, 909 | "nm": "变换" 910 | } 911 | ], 912 | "nm": "形状 2", 913 | "np": 3, 914 | "mn": "ADBE Vector Group" 915 | }, 916 | { 917 | "ty": "tm", 918 | "s": { 919 | "k": [ 920 | { 921 | "i": { 922 | "x": [ 923 | 0.667 924 | ], 925 | "y": [ 926 | 1 927 | ] 928 | }, 929 | "o": { 930 | "x": [ 931 | 0.333 932 | ], 933 | "y": [ 934 | 0 935 | ] 936 | }, 937 | "n": [ 938 | "0p667_1_0p333_0" 939 | ], 940 | "t": 9, 941 | "s": [ 942 | 100 943 | ], 944 | "e": [ 945 | 80 946 | ] 947 | }, 948 | { 949 | "i": { 950 | "x": [ 951 | 0.667 952 | ], 953 | "y": [ 954 | 1 955 | ] 956 | }, 957 | "o": { 958 | "x": [ 959 | 0.333 960 | ], 961 | "y": [ 962 | 0 963 | ] 964 | }, 965 | "n": [ 966 | "0p667_1_0p333_0" 967 | ], 968 | "t": 15, 969 | "s": [ 970 | 80 971 | ], 972 | "e": [ 973 | 0 974 | ] 975 | }, 976 | { 977 | "i": { 978 | "x": [ 979 | 0.833 980 | ], 981 | "y": [ 982 | 1 983 | ] 984 | }, 985 | "o": { 986 | "x": [ 987 | 0.333 988 | ], 989 | "y": [ 990 | 0 991 | ] 992 | }, 993 | "n": [ 994 | "0p833_1_0p333_0" 995 | ], 996 | "t": 41, 997 | "s": [ 998 | 0 999 | ], 1000 | "e": [ 1001 | 2 1002 | ] 1003 | }, 1004 | { 1005 | "t": 44 1006 | } 1007 | ], 1008 | "ix": 1 1009 | }, 1010 | "e": { 1011 | "k": 100, 1012 | "ix": 2 1013 | }, 1014 | "o": { 1015 | "k": 0, 1016 | "ix": 3 1017 | }, 1018 | "m": 1, 1019 | "ix": 2, 1020 | "nm": "修剪路径 1", 1021 | "mn": "ADBE Vector Filter - Trim" 1022 | } 1023 | ], 1024 | "ip": 5, 1025 | "op": 47, 1026 | "st": 0, 1027 | "bm": 0, 1028 | "sr": 1 1029 | }, 1030 | { 1031 | "ddd": 0, 1032 | "ind": 2, 1033 | "ty": 4, 1034 | "nm": "形状图层 1", 1035 | "ks": { 1036 | "o": { 1037 | "k": 100 1038 | }, 1039 | "r": { 1040 | "k": -8.446 1041 | }, 1042 | "p": { 1043 | "k": [ 1044 | { 1045 | "i": { 1046 | "x": 0.667, 1047 | "y": 0.667 1048 | }, 1049 | "o": { 1050 | "x": 0.333, 1051 | "y": 0.333 1052 | }, 1053 | "n": "0p667_0p667_0p333_0p333", 1054 | "t": 9, 1055 | "s": [ 1056 | 95, 1057 | 114.875, 1058 | 0 1059 | ], 1060 | "e": [ 1061 | 95, 1062 | 114.875, 1063 | 0 1064 | ], 1065 | "to": [ 1066 | 0, 1067 | 0, 1068 | 0 1069 | ], 1070 | "ti": [ 1071 | 0, 1072 | 0, 1073 | 0 1074 | ] 1075 | }, 1076 | { 1077 | "t": 14 1078 | } 1079 | ] 1080 | }, 1081 | "a": { 1082 | "k": [ 1083 | 1.75, 1084 | 17, 1085 | 0 1086 | ] 1087 | }, 1088 | "s": { 1089 | "k": [ 1090 | { 1091 | "i": { 1092 | "x": [ 1093 | 0.667, 1094 | 0.667, 1095 | 0.667 1096 | ], 1097 | "y": [ 1098 | 1, 1099 | 1, 1100 | 0.667 1101 | ] 1102 | }, 1103 | "o": { 1104 | "x": [ 1105 | 0.333, 1106 | 0.333, 1107 | 0.333 1108 | ], 1109 | "y": [ 1110 | 0, 1111 | 0, 1112 | 0.333 1113 | ] 1114 | }, 1115 | "n": [ 1116 | "0p667_1_0p333_0", 1117 | "0p667_1_0p333_0", 1118 | "0p667_0p667_0p333_0p333" 1119 | ], 1120 | "t": 1, 1121 | "s": [ 1122 | 185.648, 1123 | 225.294, 1124 | 100 1125 | ], 1126 | "e": [ 1127 | 280.648, 1128 | 340.581, 1129 | 100 1130 | ] 1131 | }, 1132 | { 1133 | "i": { 1134 | "x": [ 1135 | 0.667, 1136 | 0.667, 1137 | 0.667 1138 | ], 1139 | "y": [ 1140 | 1, 1141 | 1, 1142 | 0.667 1143 | ] 1144 | }, 1145 | "o": { 1146 | "x": [ 1147 | 0.333, 1148 | 0.333, 1149 | 0.333 1150 | ], 1151 | "y": [ 1152 | 0, 1153 | 0, 1154 | 0.333 1155 | ] 1156 | }, 1157 | "n": [ 1158 | "0p667_1_0p333_0", 1159 | "0p667_1_0p333_0", 1160 | "0p667_0p667_0p333_0p333" 1161 | ], 1162 | "t": 9, 1163 | "s": [ 1164 | 280.648, 1165 | 340.581, 1166 | 100 1167 | ], 1168 | "e": [ 1169 | 246.648, 1170 | 299.32, 1171 | 100 1172 | ] 1173 | }, 1174 | { 1175 | "t": 14 1176 | } 1177 | ] 1178 | } 1179 | }, 1180 | "ao": 0, 1181 | "shapes": [ 1182 | { 1183 | "ty": "gr", 1184 | "it": [ 1185 | { 1186 | "ty": "st", 1187 | "c": { 1188 | "k": [ 1189 | 1, 1190 | 1, 1191 | 1, 1192 | 1 1193 | ] 1194 | }, 1195 | "o": { 1196 | "k": 100 1197 | }, 1198 | "w": { 1199 | "k": 0 1200 | }, 1201 | "lc": 1, 1202 | "lj": 1, 1203 | "ml": 4, 1204 | "nm": "描边 1", 1205 | "mn": "ADBE Vector Graphic - Stroke" 1206 | }, 1207 | { 1208 | "ty": "fl", 1209 | "c": { 1210 | "k": [ 1211 | 1, 1212 | 1, 1213 | 1, 1214 | 1 1215 | ] 1216 | }, 1217 | "o": { 1218 | "k": 100 1219 | }, 1220 | "nm": "填充 1", 1221 | "mn": "ADBE Vector Graphic - Fill" 1222 | }, 1223 | { 1224 | "ty": "tr", 1225 | "p": { 1226 | "k": [ 1227 | 0, 1228 | 0 1229 | ], 1230 | "ix": 2 1231 | }, 1232 | "a": { 1233 | "k": [ 1234 | 0, 1235 | 0 1236 | ], 1237 | "ix": 1 1238 | }, 1239 | "s": { 1240 | "k": [ 1241 | 100, 1242 | 100 1243 | ], 1244 | "ix": 3 1245 | }, 1246 | "r": { 1247 | "k": 0, 1248 | "ix": 6 1249 | }, 1250 | "o": { 1251 | "k": 100, 1252 | "ix": 7 1253 | }, 1254 | "sk": { 1255 | "k": 0, 1256 | "ix": 4 1257 | }, 1258 | "sa": { 1259 | "k": 0, 1260 | "ix": 5 1261 | }, 1262 | "nm": "变换" 1263 | } 1264 | ], 1265 | "nm": "形状 1", 1266 | "np": 2, 1267 | "mn": "ADBE Vector Group" 1268 | }, 1269 | { 1270 | "ty": "gr", 1271 | "it": [ 1272 | { 1273 | "d": 1, 1274 | "ty": "el", 1275 | "s": { 1276 | "k": [ 1277 | 19.75, 1278 | 12 1279 | ] 1280 | }, 1281 | "p": { 1282 | "k": [ 1283 | 0, 1284 | 0 1285 | ] 1286 | }, 1287 | "nm": "椭圆路径 1", 1288 | "mn": "ADBE Vector Shape - Ellipse" 1289 | }, 1290 | { 1291 | "ty": "st", 1292 | "c": { 1293 | "k": [ 1294 | 1, 1295 | 1, 1296 | 1, 1297 | 1 1298 | ] 1299 | }, 1300 | "o": { 1301 | "k": 100 1302 | }, 1303 | "w": { 1304 | "k": 0 1305 | }, 1306 | "lc": 1, 1307 | "lj": 1, 1308 | "ml": 4, 1309 | "nm": "描边 1", 1310 | "mn": "ADBE Vector Graphic - Stroke" 1311 | }, 1312 | { 1313 | "ty": "fl", 1314 | "c": { 1315 | "k": [ 1316 | 1, 1317 | 1, 1318 | 1, 1319 | 1 1320 | ] 1321 | }, 1322 | "o": { 1323 | "k": 100 1324 | }, 1325 | "nm": "填充 1", 1326 | "mn": "ADBE Vector Graphic - Fill" 1327 | }, 1328 | { 1329 | "ty": "tr", 1330 | "p": { 1331 | "k": [ 1332 | 1.375, 1333 | 17 1334 | ], 1335 | "ix": 2 1336 | }, 1337 | "a": { 1338 | "k": [ 1339 | 0, 1340 | 0 1341 | ], 1342 | "ix": 1 1343 | }, 1344 | "s": { 1345 | "k": [ 1346 | 100, 1347 | 100 1348 | ], 1349 | "ix": 3 1350 | }, 1351 | "r": { 1352 | "k": 0, 1353 | "ix": 6 1354 | }, 1355 | "o": { 1356 | "k": 100, 1357 | "ix": 7 1358 | }, 1359 | "sk": { 1360 | "k": 0, 1361 | "ix": 4 1362 | }, 1363 | "sa": { 1364 | "k": 0, 1365 | "ix": 5 1366 | }, 1367 | "nm": "变换" 1368 | } 1369 | ], 1370 | "nm": "椭圆 1", 1371 | "np": 3, 1372 | "mn": "ADBE Vector Group" 1373 | } 1374 | ], 1375 | "ip": 0, 1376 | "op": 46, 1377 | "st": 0, 1378 | "bm": 0, 1379 | "sr": 1 1380 | }, 1381 | { 1382 | "ddd": 0, 1383 | "ind": 3, 1384 | "ty": 4, 1385 | "nm": "形状图层 4", 1386 | "ks": { 1387 | "o": { 1388 | "k": 20 1389 | }, 1390 | "r": { 1391 | "k": 0 1392 | }, 1393 | "p": { 1394 | "k": [ 1395 | 87, 1396 | 90, 1397 | 0 1398 | ] 1399 | }, 1400 | "a": { 1401 | "k": [ 1402 | 0, 1403 | 0, 1404 | 0 1405 | ] 1406 | }, 1407 | "s": { 1408 | "k": [ 1409 | 165, 1410 | 165, 1411 | 100 1412 | ] 1413 | } 1414 | }, 1415 | "ao": 0, 1416 | "shapes": [ 1417 | { 1418 | "ty": "gr", 1419 | "it": [ 1420 | { 1421 | "ind": 0, 1422 | "ty": "sh", 1423 | "ks": { 1424 | "k": { 1425 | "i": [ 1426 | [ 1427 | 0, 1428 | 0 1429 | ], 1430 | [ 1431 | 0, 1432 | 0 1433 | ], 1434 | [ 1435 | 0, 1436 | 0 1437 | ], 1438 | [ 1439 | 0, 1440 | 0 1441 | ], 1442 | [ 1443 | 0, 1444 | 0.25 1445 | ], 1446 | [ 1447 | 0, 1448 | 0 1449 | ], 1450 | [ 1451 | 0, 1452 | 0 1453 | ] 1454 | ], 1455 | "o": [ 1456 | [ 1457 | 0, 1458 | 0 1459 | ], 1460 | [ 1461 | 0, 1462 | 0 1463 | ], 1464 | [ 1465 | 0, 1466 | 0 1467 | ], 1468 | [ 1469 | 0, 1470 | 0 1471 | ], 1472 | [ 1473 | 0, 1474 | -0.25 1475 | ], 1476 | [ 1477 | 0, 1478 | 0 1479 | ], 1480 | [ 1481 | 0, 1482 | 0 1483 | ] 1484 | ], 1485 | "v": [ 1486 | [ 1487 | -0.379, 1488 | -21.212 1489 | ], 1490 | [ 1491 | -27.03, 1492 | -20.962 1493 | ], 1494 | [ 1495 | -27.152, 1496 | 38.125 1497 | ], 1498 | [ 1499 | 31.295, 1500 | 38.121 1501 | ], 1502 | [ 1503 | 31.242, 1504 | -21.428 1505 | ], 1506 | [ 1507 | 14.977, 1508 | -21.583 1509 | ], 1510 | [ 1511 | 14.909, 1512 | 13.78 1513 | ] 1514 | ], 1515 | "c": false 1516 | } 1517 | }, 1518 | "nm": "路径 1", 1519 | "mn": "ADBE Vector Shape - Group" 1520 | }, 1521 | { 1522 | "ty": "st", 1523 | "c": { 1524 | "k": [ 1525 | 1, 1526 | 1, 1527 | 1, 1528 | 1 1529 | ] 1530 | }, 1531 | "o": { 1532 | "k": 100 1533 | }, 1534 | "w": { 1535 | "k": 8 1536 | }, 1537 | "lc": 2, 1538 | "lj": 2, 1539 | "nm": "描边 1", 1540 | "mn": "ADBE Vector Graphic - Stroke" 1541 | }, 1542 | { 1543 | "ty": "tr", 1544 | "p": { 1545 | "k": [ 1546 | 0, 1547 | 0 1548 | ], 1549 | "ix": 2 1550 | }, 1551 | "a": { 1552 | "k": [ 1553 | 0, 1554 | 0 1555 | ], 1556 | "ix": 1 1557 | }, 1558 | "s": { 1559 | "k": [ 1560 | 100, 1561 | 100 1562 | ], 1563 | "ix": 3 1564 | }, 1565 | "r": { 1566 | "k": 0, 1567 | "ix": 6 1568 | }, 1569 | "o": { 1570 | "k": 100, 1571 | "ix": 7 1572 | }, 1573 | "sk": { 1574 | "k": 0, 1575 | "ix": 4 1576 | }, 1577 | "sa": { 1578 | "k": 0, 1579 | "ix": 5 1580 | }, 1581 | "nm": "变换" 1582 | } 1583 | ], 1584 | "nm": "形状 2", 1585 | "np": 3, 1586 | "mn": "ADBE Vector Group" 1587 | } 1588 | ], 1589 | "ip": 5, 1590 | "op": 47, 1591 | "st": 0, 1592 | "bm": 0, 1593 | "sr": 1 1594 | } 1595 | ], 1596 | "v": "4.5.4", 1597 | "ddd": 0, 1598 | "ip": 0, 1599 | "op": 46, 1600 | "fr": 24, 1601 | "w": 180, 1602 | "h": 180 1603 | } -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/main/res/raw/spiral_animation.json: -------------------------------------------------------------------------------- 1 | { 2 | "v": "5.5.2", 3 | "fr": 30, 4 | "ip": 0, 5 | "op": 16, 6 | "w": 100, 7 | "h": 100, 8 | "nm": "Comp 1", 9 | "ddd": 0, 10 | "assets": [], 11 | "layers": [ 12 | { 13 | "ddd": 0, 14 | "ind": 1, 15 | "ty": 4, 16 | "nm": "Shape Layer 3", 17 | "sr": 1, 18 | "ks": { 19 | "o": { 20 | "a": 0, 21 | "k": 100, 22 | "ix": 11 23 | }, 24 | "r": { 25 | "a": 0, 26 | "k": 359, 27 | "ix": 10 28 | }, 29 | "p": { 30 | "a": 0, 31 | "k": [ 32 | 50, 33 | 50, 34 | 0 35 | ], 36 | "ix": 2 37 | }, 38 | "a": { 39 | "a": 0, 40 | "k": [ 41 | 12, 42 | 8, 43 | 0 44 | ], 45 | "ix": 1 46 | }, 47 | "s": { 48 | "a": 0, 49 | "k": [ 50 | 19, 51 | 19, 52 | 100 53 | ], 54 | "ix": 6 55 | } 56 | }, 57 | "ao": 0, 58 | "shapes": [ 59 | { 60 | "ty": "gr", 61 | "it": [ 62 | { 63 | "d": 1, 64 | "ty": "el", 65 | "s": { 66 | "a": 0, 67 | "k": [ 68 | 224, 69 | 224 70 | ], 71 | "ix": 2 72 | }, 73 | "p": { 74 | "a": 0, 75 | "k": [ 76 | 0, 77 | 0 78 | ], 79 | "ix": 3 80 | }, 81 | "nm": "Ellipse Path 1", 82 | "mn": "ADBE Vector Shape - Ellipse", 83 | "hd": false 84 | }, 85 | { 86 | "ty": "st", 87 | "c": { 88 | "a": 0, 89 | "k": [ 90 | 0.996078431373, 91 | 0.576094085095, 92 | 0.031249517553, 93 | 1 94 | ], 95 | "ix": 3 96 | }, 97 | "o": { 98 | "a": 0, 99 | "k": 100, 100 | "ix": 4 101 | }, 102 | "w": { 103 | "a": 0, 104 | "k": 20, 105 | "ix": 5 106 | }, 107 | "lc": 2, 108 | "lj": 1, 109 | "ml": 4, 110 | "bm": 0, 111 | "nm": "Stroke 1", 112 | "mn": "ADBE Vector Graphic - Stroke", 113 | "hd": false 114 | }, 115 | { 116 | "ty": "tr", 117 | "p": { 118 | "a": 0, 119 | "k": [ 120 | 12, 121 | 8 122 | ], 123 | "ix": 2 124 | }, 125 | "a": { 126 | "a": 0, 127 | "k": [ 128 | 0, 129 | 0 130 | ], 131 | "ix": 1 132 | }, 133 | "s": { 134 | "a": 0, 135 | "k": [ 136 | 100, 137 | 100 138 | ], 139 | "ix": 3 140 | }, 141 | "r": { 142 | "a": 0, 143 | "k": 0, 144 | "ix": 6 145 | }, 146 | "o": { 147 | "a": 0, 148 | "k": 100, 149 | "ix": 7 150 | }, 151 | "sk": { 152 | "a": 0, 153 | "k": 0, 154 | "ix": 4 155 | }, 156 | "sa": { 157 | "a": 0, 158 | "k": 0, 159 | "ix": 5 160 | }, 161 | "nm": "Transform" 162 | } 163 | ], 164 | "nm": "Ellipse 1", 165 | "np": 3, 166 | "cix": 2, 167 | "bm": 0, 168 | "ix": 1, 169 | "mn": "ADBE Vector Group", 170 | "hd": false 171 | }, 172 | { 173 | "ty": "tm", 174 | "s": { 175 | "a": 0, 176 | "k": 34, 177 | "ix": 1 178 | }, 179 | "e": { 180 | "a": 0, 181 | "k": 100, 182 | "ix": 2 183 | }, 184 | "o": { 185 | "a": 1, 186 | "k": [ 187 | { 188 | "i": { 189 | "x": [ 190 | 0.833 191 | ], 192 | "y": [ 193 | 0.833 194 | ] 195 | }, 196 | "o": { 197 | "x": [ 198 | 0.167 199 | ], 200 | "y": [ 201 | 0.167 202 | ] 203 | }, 204 | "t": 0, 205 | "s": [ 206 | 0 207 | ] 208 | }, 209 | { 210 | "t": 16, 211 | "s": [ 212 | 372 213 | ] 214 | } 215 | ], 216 | "ix": 3 217 | }, 218 | "m": 1, 219 | "ix": 2, 220 | "nm": "Trim Paths 1", 221 | "mn": "ADBE Vector Filter - Trim", 222 | "hd": false 223 | } 224 | ], 225 | "ip": 0, 226 | "op": 16, 227 | "st": 0, 228 | "bm": 0 229 | }, 230 | { 231 | "ddd": 0, 232 | "ind": 2, 233 | "ty": 4, 234 | "nm": "Shape Layer 2", 235 | "sr": 1, 236 | "ks": { 237 | "o": { 238 | "a": 0, 239 | "k": 100, 240 | "ix": 11 241 | }, 242 | "r": { 243 | "a": 0, 244 | "k": 177, 245 | "ix": 10 246 | }, 247 | "p": { 248 | "a": 0, 249 | "k": [ 250 | 50, 251 | 50, 252 | 0 253 | ], 254 | "ix": 2 255 | }, 256 | "a": { 257 | "a": 0, 258 | "k": [ 259 | 12, 260 | 8, 261 | 0 262 | ], 263 | "ix": 1 264 | }, 265 | "s": { 266 | "a": 0, 267 | "k": [ 268 | 29, 269 | 29, 270 | 100 271 | ], 272 | "ix": 6 273 | } 274 | }, 275 | "ao": 0, 276 | "shapes": [ 277 | { 278 | "ty": "gr", 279 | "it": [ 280 | { 281 | "d": 1, 282 | "ty": "el", 283 | "s": { 284 | "a": 0, 285 | "k": [ 286 | 224, 287 | 224 288 | ], 289 | "ix": 2 290 | }, 291 | "p": { 292 | "a": 0, 293 | "k": [ 294 | 0, 295 | 0 296 | ], 297 | "ix": 3 298 | }, 299 | "nm": "Ellipse Path 1", 300 | "mn": "ADBE Vector Shape - Ellipse", 301 | "hd": false 302 | }, 303 | { 304 | "ty": "st", 305 | "c": { 306 | "a": 0, 307 | "k": [ 308 | 0.031249517553, 309 | 0.735006893382, 310 | 0.996078431373, 311 | 1 312 | ], 313 | "ix": 3 314 | }, 315 | "o": { 316 | "a": 0, 317 | "k": 100, 318 | "ix": 4 319 | }, 320 | "w": { 321 | "a": 0, 322 | "k": 15, 323 | "ix": 5 324 | }, 325 | "lc": 2, 326 | "lj": 1, 327 | "ml": 4, 328 | "bm": 0, 329 | "nm": "Stroke 1", 330 | "mn": "ADBE Vector Graphic - Stroke", 331 | "hd": false 332 | }, 333 | { 334 | "ty": "tr", 335 | "p": { 336 | "a": 0, 337 | "k": [ 338 | 12, 339 | 8 340 | ], 341 | "ix": 2 342 | }, 343 | "a": { 344 | "a": 0, 345 | "k": [ 346 | 0, 347 | 0 348 | ], 349 | "ix": 1 350 | }, 351 | "s": { 352 | "a": 0, 353 | "k": [ 354 | 100, 355 | 100 356 | ], 357 | "ix": 3 358 | }, 359 | "r": { 360 | "a": 0, 361 | "k": 0, 362 | "ix": 6 363 | }, 364 | "o": { 365 | "a": 0, 366 | "k": 100, 367 | "ix": 7 368 | }, 369 | "sk": { 370 | "a": 0, 371 | "k": 0, 372 | "ix": 4 373 | }, 374 | "sa": { 375 | "a": 0, 376 | "k": 0, 377 | "ix": 5 378 | }, 379 | "nm": "Transform" 380 | } 381 | ], 382 | "nm": "Ellipse 1", 383 | "np": 3, 384 | "cix": 2, 385 | "bm": 0, 386 | "ix": 1, 387 | "mn": "ADBE Vector Group", 388 | "hd": false 389 | }, 390 | { 391 | "ty": "tm", 392 | "s": { 393 | "a": 0, 394 | "k": 34, 395 | "ix": 1 396 | }, 397 | "e": { 398 | "a": 0, 399 | "k": 100, 400 | "ix": 2 401 | }, 402 | "o": { 403 | "a": 1, 404 | "k": [ 405 | { 406 | "i": { 407 | "x": [ 408 | 0.833 409 | ], 410 | "y": [ 411 | 0.833 412 | ] 413 | }, 414 | "o": { 415 | "x": [ 416 | 0.167 417 | ], 418 | "y": [ 419 | 0.167 420 | ] 421 | }, 422 | "t": 0, 423 | "s": [ 424 | 0 425 | ] 426 | }, 427 | { 428 | "t": 16, 429 | "s": [ 430 | 372 431 | ] 432 | } 433 | ], 434 | "ix": 3 435 | }, 436 | "m": 1, 437 | "ix": 2, 438 | "nm": "Trim Paths 1", 439 | "mn": "ADBE Vector Filter - Trim", 440 | "hd": false 441 | } 442 | ], 443 | "ip": 0, 444 | "op": 16, 445 | "st": 0, 446 | "bm": 0 447 | }, 448 | { 449 | "ddd": 0, 450 | "ind": 3, 451 | "ty": 4, 452 | "nm": "Shape Layer 1", 453 | "sr": 1, 454 | "ks": { 455 | "o": { 456 | "a": 0, 457 | "k": 100, 458 | "ix": 11 459 | }, 460 | "r": { 461 | "a": 0, 462 | "k": 0, 463 | "ix": 10 464 | }, 465 | "p": { 466 | "a": 0, 467 | "k": [ 468 | 50, 469 | 50, 470 | 0 471 | ], 472 | "ix": 2 473 | }, 474 | "a": { 475 | "a": 0, 476 | "k": [ 477 | 12, 478 | 8, 479 | 0 480 | ], 481 | "ix": 1 482 | }, 483 | "s": { 484 | "a": 0, 485 | "k": [ 486 | 41, 487 | 41, 488 | 100 489 | ], 490 | "ix": 6 491 | } 492 | }, 493 | "ao": 0, 494 | "shapes": [ 495 | { 496 | "ty": "gr", 497 | "it": [ 498 | { 499 | "d": 1, 500 | "ty": "el", 501 | "s": { 502 | "a": 0, 503 | "k": [ 504 | 224, 505 | 224 506 | ], 507 | "ix": 2 508 | }, 509 | "p": { 510 | "a": 0, 511 | "k": [ 512 | 0, 513 | 0 514 | ], 515 | "ix": 3 516 | }, 517 | "nm": "Ellipse Path 1", 518 | "mn": "ADBE Vector Shape - Ellipse", 519 | "hd": false 520 | }, 521 | { 522 | "ty": "st", 523 | "c": { 524 | "a": 0, 525 | "k": [ 526 | 1, 527 | 0.270588205375, 528 | 0.270588205375, 529 | 1 530 | ], 531 | "ix": 3 532 | }, 533 | "o": { 534 | "a": 0, 535 | "k": 100, 536 | "ix": 4 537 | }, 538 | "w": { 539 | "a": 0, 540 | "k": 10, 541 | "ix": 5 542 | }, 543 | "lc": 2, 544 | "lj": 1, 545 | "ml": 4, 546 | "bm": 0, 547 | "nm": "Stroke 1", 548 | "mn": "ADBE Vector Graphic - Stroke", 549 | "hd": false 550 | }, 551 | { 552 | "ty": "tr", 553 | "p": { 554 | "a": 0, 555 | "k": [ 556 | 12, 557 | 8 558 | ], 559 | "ix": 2 560 | }, 561 | "a": { 562 | "a": 0, 563 | "k": [ 564 | 0, 565 | 0 566 | ], 567 | "ix": 1 568 | }, 569 | "s": { 570 | "a": 0, 571 | "k": [ 572 | 100, 573 | 100 574 | ], 575 | "ix": 3 576 | }, 577 | "r": { 578 | "a": 0, 579 | "k": 0, 580 | "ix": 6 581 | }, 582 | "o": { 583 | "a": 0, 584 | "k": 100, 585 | "ix": 7 586 | }, 587 | "sk": { 588 | "a": 0, 589 | "k": 0, 590 | "ix": 4 591 | }, 592 | "sa": { 593 | "a": 0, 594 | "k": 0, 595 | "ix": 5 596 | }, 597 | "nm": "Transform" 598 | } 599 | ], 600 | "nm": "Ellipse 1", 601 | "np": 3, 602 | "cix": 2, 603 | "bm": 0, 604 | "ix": 1, 605 | "mn": "ADBE Vector Group", 606 | "hd": false 607 | }, 608 | { 609 | "ty": "tm", 610 | "s": { 611 | "a": 0, 612 | "k": 34, 613 | "ix": 1 614 | }, 615 | "e": { 616 | "a": 0, 617 | "k": 100, 618 | "ix": 2 619 | }, 620 | "o": { 621 | "a": 1, 622 | "k": [ 623 | { 624 | "i": { 625 | "x": [ 626 | 0.833 627 | ], 628 | "y": [ 629 | 0.833 630 | ] 631 | }, 632 | "o": { 633 | "x": [ 634 | 0.167 635 | ], 636 | "y": [ 637 | 0.167 638 | ] 639 | }, 640 | "t": 0, 641 | "s": [ 642 | 0 643 | ] 644 | }, 645 | { 646 | "t": 16, 647 | "s": [ 648 | 372 649 | ] 650 | } 651 | ], 652 | "ix": 3 653 | }, 654 | "m": 1, 655 | "ix": 2, 656 | "nm": "Trim Paths 1", 657 | "mn": "ADBE Vector Filter - Trim", 658 | "hd": false 659 | } 660 | ], 661 | "ip": 0, 662 | "op": 16, 663 | "st": 0, 664 | "bm": 0 665 | } 666 | ], 667 | "markers": [] 668 | } -------------------------------------------------------------------------------- /CustomLottieDialogBox/src/test/java/com/siddydevelops/customlottiedialogbox/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.siddydevelops.customlottiedialogbox; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Siddharth Singh 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CustomLottieDialogBox 2 | Coding 3 | 4 | ## About 5 | CustomLottieDialogBox is an android library which facilitate developers to add customized loading Dialog-Boxes to their android apps. Users can add Lottie Animations of thier wish or can choose from the already existing animation. They can change the backgroung color, text color, size of dialog box or can add thier own custom text using this library. 6 | 7 | [![](https://jitpack.io/v/SiddyDevelops/CustomLottieDialogBox-Android.svg)](https://jitpack.io/#SiddyDevelops/CustomLottieDialogBox-Android) 8 | ![Minimum SDK Version](https://img.shields.io/badge/minSdkVersion-23-brightgreen) 9 | [![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html) 10 | 11 |

12 | 13 | 14 | 15 |

16 | 17 | --- 18 | 19 | ## Installation: 20 | - Step 1. Add it in your root build.gradle at the end of repositories: 21 | ``` 22 | allprojects { 23 | repositories { 24 | ... 25 | maven { url 'https://jitpack.io' } 26 | } 27 | } 28 | ``` 29 | - Step 2. Add the dependency: 30 | ``` 31 | dependencies { 32 | implementation 'com.github.SiddyDevelops:CustomLottieDialogBox-Android:0.2.0' 33 | } 34 | ``` 35 | 36 | --- 37 | 38 | ## Usage: 39 | In your ```activity.java``` follow the steps given below to add the custom Dialog: 40 | - To add an animation from the library-builtin: 41 | 42 | ``` 43 | CustomLottieDialog customLottieDialog; 44 | customLottieDialog = new CustomLottieDialog(context, "LO01"); 45 | customLottieDialog.show(); 46 | ``` 47 | - To add your own custom Lottie animation: First download Lottie JSON of your preferred animation and add the downloaded file to ``raw`` inside ``res``. 48 | 49 | ![LottiePreview](https://user-images.githubusercontent.com/72121163/135556267-52d16179-3c38-490c-9857-7d5bbbd61c3d.PNG) 50 | 51 | CustomLottieDialog customLottieDialog; 52 | customLottieDialog = new CustomLottieDialog(context,R.raw.heartbeat_loader); 53 | customLottieDialog.show(); 54 | 55 | - To customize the Loading Text: 56 | 57 | ``` 58 | customLottieDialog.setLoadingText("Custom Text"); 59 | OR 60 | customLottieDialog.setLoadingText(""); //-----> To remove custom text 61 | ``` 62 | - To change text-color of custom loading text: 63 | 64 | ``` 65 | customLottieDialog.setLoadingTextColor("{HexColorCode}"); 66 | ``` 67 | 68 | - To change Lottie animation background color: 69 | ``` 70 | customLottieDialog.setLottieBackgroundColor("{HexColorCode}"); 71 | ``` 72 | 73 | - To change the dimensions of the dialog box: 74 | 75 | ``` 76 | customLottieDialog.setDialogLayoutDimensions({width in dp (int)},{height in dp (int)); 77 | ``` 78 | 79 | - To dismiss the dialog box: 80 | 81 | ``` 82 | customLottieDialog.dismiss(); 83 | ``` 84 | 85 | - Example: 86 | 87 | ``` 88 | CustomLottieDialog customLottieDialog; 89 | customLottieDialog = new CustomLottieDialog(MainActivity.this, "LO01"); 90 | customLottieDialog.setLottieBackgroundColor("#7AC89E"); 91 | customLottieDialog.setLoadingText("Custom Text"); 92 | customLottieDialog.setLoadingTextColor("#FFFFFF"); 93 | ``` 94 | 95 | --- 96 | 97 | ## Library-Inbuilt Animations: 98 | 99 | 100 | 101 | 120 |
102 | 103 | | Animation | lottieBatch | 104 | |--|--| 105 | | PaperPlane | "LO01" | 106 | | Balance | "LO03" | 107 | | Loop | "LO05" | 108 | | Rocket | "LO07" | 109 | 110 | 111 | 112 | | Animation | lottieBatch | 113 | |--|--| 114 | | Bubble | "LO02" | 115 | | Groove | "LO04" | 116 | | Music | "LO06" | 117 | | Spiral | "LO08" | 118 | 119 |
121 | 122 | --- 123 | 124 | ## From the Developer: 125 | 126 | This Android Library is developed by Siddharth Singh. The animation included in this library is taken from https://lottiefiles.com/ . 127 | 128 | Follow my Social Handles for more projects. 129 | 130 | Enjoy Coding!! 🚀 ✨ 131 | 132 | --- 133 | 134 | 135 | 136 | 137 | 138 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'com.android.application' 3 | } 4 | 5 | android { 6 | compileSdk 30 7 | 8 | defaultConfig { 9 | applicationId "com.siddydevelops.customlottiedialogbox" 10 | minSdk 23 11 | targetSdk 30 12 | versionCode 1 13 | versionName "1.0" 14 | 15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 16 | } 17 | 18 | buildTypes { 19 | release { 20 | minifyEnabled false 21 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 22 | } 23 | } 24 | compileOptions { 25 | sourceCompatibility JavaVersion.VERSION_1_8 26 | targetCompatibility JavaVersion.VERSION_1_8 27 | } 28 | } 29 | 30 | dependencies { 31 | 32 | implementation 'androidx.appcompat:appcompat:1.3.1' 33 | implementation 'com.google.android.material:material:1.4.0' 34 | implementation 'androidx.constraintlayout:constraintlayout:2.1.1' 35 | testImplementation 'junit:junit:4.+' 36 | androidTestImplementation 'androidx.test.ext:junit:1.1.3' 37 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' 38 | } -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /app/src/androidTest/java/com/siddydevelops/customlottiedialogbox/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.siddydevelops.customlottiedialogbox; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.platform.app.InstrumentationRegistry; 6 | import androidx.test.ext.junit.runners.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest { 20 | @Test 21 | public void useAppContext() { 22 | // Context of the app under test. 23 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 24 | assertEquals("com.siddydevelops.customlottiedialogbox", appContext.getPackageName()); 25 | } 26 | } -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/java/com/siddydevelops/customlottiedialogbox/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.siddydevelops.customlottiedialogbox; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.os.Bundle; 6 | 7 | public class MainActivity extends AppCompatActivity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_main); 13 | } 14 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 15 | 18 | 21 | 22 | 23 | 24 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 | 75 | 80 | 85 | 90 | 95 | 100 | 105 | 110 | 115 | 120 | 125 | 130 | 135 | 140 | 145 | 150 | 155 | 160 | 165 | 170 | 171 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | CustomLottieDialogBoxExample 3 | -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /app/src/test/java/com/siddydevelops/customlottiedialogbox/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.siddydevelops.customlottiedialogbox; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.2" 9 | classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app"s APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Automatically convert third-party libraries to use AndroidX 19 | android.enableJetifier=true -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SiddyDevelops/CustomLottieDialogBox-Android/1cce78fee270e03811c8c171a4158464ff84f866/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Sep 30 14:39:56 IST 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## Gradle start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | 86 | # Determine the Java command to use to start the JVM. 87 | if [ -n "$JAVA_HOME" ] ; then 88 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 89 | # IBM's JDK on AIX uses strange locations for the executables 90 | JAVACMD="$JAVA_HOME/jre/sh/java" 91 | else 92 | JAVACMD="$JAVA_HOME/bin/java" 93 | fi 94 | if [ ! -x "$JAVACMD" ] ; then 95 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 96 | 97 | Please set the JAVA_HOME variable in your environment to match the 98 | location of your Java installation." 99 | fi 100 | else 101 | JAVACMD="java" 102 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 103 | 104 | Please set the JAVA_HOME variable in your environment to match the 105 | location of your Java installation." 106 | fi 107 | 108 | # Increase the maximum file descriptors if we can. 109 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 110 | MAX_FD_LIMIT=`ulimit -H -n` 111 | if [ $? -eq 0 ] ; then 112 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 113 | MAX_FD="$MAX_FD_LIMIT" 114 | fi 115 | ulimit -n $MAX_FD 116 | if [ $? -ne 0 ] ; then 117 | warn "Could not set maximum file descriptor limit: $MAX_FD" 118 | fi 119 | else 120 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 121 | fi 122 | fi 123 | 124 | # For Darwin, add options to specify how the application appears in the dock 125 | if $darwin; then 126 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 127 | fi 128 | 129 | # For Cygwin or MSYS, switch paths to Windows format before running java 130 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then 131 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 132 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 133 | 134 | JAVACMD=`cygpath --unix "$JAVACMD"` 135 | 136 | # We build the pattern for arguments to be converted via cygpath 137 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 138 | SEP="" 139 | for dir in $ROOTDIRSRAW ; do 140 | ROOTDIRS="$ROOTDIRS$SEP$dir" 141 | SEP="|" 142 | done 143 | OURCYGPATTERN="(^($ROOTDIRS))" 144 | # Add a user-defined pattern to the cygpath arguments 145 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 146 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 147 | fi 148 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 149 | i=0 150 | for arg in "$@" ; do 151 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 152 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 153 | 154 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 155 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 156 | else 157 | eval `echo args$i`="\"$arg\"" 158 | fi 159 | i=`expr $i + 1` 160 | done 161 | case $i in 162 | 0) set -- ;; 163 | 1) set -- "$args0" ;; 164 | 2) set -- "$args0" "$args1" ;; 165 | 3) set -- "$args0" "$args1" "$args2" ;; 166 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;; 167 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 168 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 169 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 170 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 171 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 172 | esac 173 | fi 174 | 175 | # Escape application args 176 | save () { 177 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 178 | echo " " 179 | } 180 | APP_ARGS=`save "$@"` 181 | 182 | # Collect all arguments for the java command, following the shell quoting and substitution rules 183 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 184 | 185 | exec "$JAVACMD" "$@" 186 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto execute 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto execute 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :execute 68 | @rem Setup the command line 69 | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 71 | 72 | 73 | @rem Execute Gradle 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 75 | 76 | :end 77 | @rem End local scope for the variables with windows NT shell 78 | if "%ERRORLEVEL%"=="0" goto mainEnd 79 | 80 | :fail 81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 | rem the _cmd.exe /c_ return code! 83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 | exit /b 1 85 | 86 | :mainEnd 87 | if "%OS%"=="Windows_NT" endlocal 88 | 89 | :omega 90 | -------------------------------------------------------------------------------- /jitpack.yml: -------------------------------------------------------------------------------- 1 | jdk: 2 | - openjdk11 3 | before_install: 4 | - chmod +x gradlew 5 | install: 6 | - ./gradlew build :CustomLottieDialogBox:publishToMavenLocal -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | maven { url 'https://jitpack.io' } 7 | jcenter() // Warning: this repository is going to shut down soon 8 | } 9 | } 10 | rootProject.name = "CustomLottieDialogBoxExample" 11 | include ':app' 12 | include ':CustomLottieDialogBox' 13 | --------------------------------------------------------------------------------