From f864271b8d6659357a3505b73c919c3152b58dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=91=EC=95=A0?= <51151970+fascinate98@users.noreply.github.com> Date: Tue, 4 Oct 2022 14:14:29 +0900 Subject: [PATCH] Update README.md --- README.md | 111 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 99 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7ac85a9..1e1c740 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ You can setup Lottie animation in 2parts. |NO|Explanation|Example| |----|:----:|:----:| -|**1. Icon in alert**||**loop**

**no loop**
| -|**2. Full Screen**|
|**Lottie behind alert**

**Lottie cover alert**
| +|**1. Lottie Icon in alert**||**loop**

**no loop**
| +|**2. Full Screen Lottie**|
|**Lottie behind alert**

**Lottie cover alert**
| ## Using Gradle :rocket: @@ -36,29 +36,32 @@ dependencies { Check here [BASIC USAGE](https://github.com/pedant/sweet-alert-dialog) -1. https://lottiefiles.com/ 에 접속합니다. +1. Go https://lottiefiles.com/ -2. 원하는 lottie 검색 +2. Search Lottie animation you want. -3. lottie json 파일 다운로드 +3. Download lottie json file. -4. (옵션)다운로드한 파일 이름을 변경합니다. +4. (option) Change the downloaded file name. -5. res -> New -> Android Resource Directory 를 클릭합니다. +5. Make res -> New -> Android Resource Directory -6. Resource type -> raw 선택하여 raw폴더를 만듭니다. +6. Make raw folder. (Resource type -> raw) -7. 다운로드 받았던 json 파일을 raw폴더로 이동합니다. +7. Move json file downloaded to raw folder. -8. 코드 입력 +8. In your Code + +Make simple button for example. In your xml file: + ```xml