From ea5b29bb901e4117e5ce18b865ccadb7640b2e98 Mon Sep 17 00:00:00 2001 From: Zohar <102589617@qq.com> Date: Wed, 6 Jun 2018 13:11:13 +0800 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加最低支持api版本提示 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bf585db..c8bb671 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # shadow +[![API](https://img.shields.io/badge/API-17%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=17) This library draw android view shadow by ShadowLayer. You may don't like the CardView's black shadow which we can't change it's color. Same to CardView wrap content and set shadow radius. You can change shadow color, foreground color and corner radius everywhere. Because the shadow is draw in the view. So you must add space to draw the shadow. The ShadowView add one param shadowMargin which must be set before you add shadow radius to the view.