diff --git a/README.md b/README.md index 6bd9f25..df7c4de 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,14 @@ allprojects { Then add in dependencies: ```gradle dependencies { - implementation 'com.github.limuyang2:LShadowLayout:1.0' + implementation 'com.github.limuyang2:LShadowLayout:1.0.1' +} +``` +**if you use AndroidX,Please use the following:** + +```gradle +dependencies { + implementation 'com.github.limuyang2:LShadowLayout:1.0.1_androidx' } ``` diff --git a/README_CN.md b/README_CN.md index 6a0bc5b..fb391a3 100644 --- a/README_CN.md +++ b/README_CN.md @@ -24,11 +24,21 @@ allprojects { 再在dependencies添加: ```gradle dependencies { - implementation 'com.github.limuyang2:LShadowLayout:1.0' + implementation 'com.github.limuyang2:LShadowLayout:1.0.1' } ``` +**如果你使用 AndroidX,请使用以下添加:** + +```gradle +dependencies { + implementation 'com.github.limuyang2:LShadowLayout:1.0.1_androidx' +} +``` + + ## 使用 + 本库中已包含的控件有: ```ShadowLinearLayout```线性布局 ```ShadowRelativeLayout```相对布局