From 977faf5f50f1b64e9ccb2810b07c1e5717f6fa9c Mon Sep 17 00:00:00 2001 From: chiemy Date: Sat, 19 Sep 2015 20:03:02 +0800 Subject: [PATCH 1/3] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..941c2b7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) [2015] [chiemy] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 615e2f8ee59ddb51676793213328869376598901 Mon Sep 17 00:00:00 2001 From: chiemy Date: Sat, 19 Sep 2015 20:06:09 +0800 Subject: [PATCH 2/3] Update CardView.java --- src/com/chiemy/cardview/view/CardView.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/com/chiemy/cardview/view/CardView.java b/src/com/chiemy/cardview/view/CardView.java index 394a14a..4ce1b4d 100644 --- a/src/com/chiemy/cardview/view/CardView.java +++ b/src/com/chiemy/cardview/view/CardView.java @@ -1,3 +1,25 @@ +/* + * The MIT License (MIT) + * Copyright (c) [2015] [chiemy] + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package com.chiemy.cardview.view; import android.content.Context; From 5098ae15a456baef7fc088f5a5a4f6469b65832a Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Mon, 17 Apr 2017 06:28:19 -0300 Subject: [PATCH 3/3] Fix broken Markdown headings --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 893de3c..c06f27e 100644 --- a/readme.md +++ b/readme.md @@ -6,14 +6,14 @@ - 测试版本4.1.2,4.2.2,4.4.2可用 -##2014-9-11修改 +## 2014-9-11修改 - 修复设置高度`wrap_content`时显示不全的bug - 修复点击后,翻转过程中向下滑动出现的bug >注意:如果设置高度为`wrap_content`,为了保证动画视觉上的完整性,需要设置自身及所有关联窗口的`android:clipChildren`属性为false(代码中setClipChildren(false))。 -##使用 +## 使用 CardView cardView = (CardView) findViewById(R.id.cardView1); @@ -28,7 +28,7 @@ }); -##问题 +## 问题 - 测试2.3.2有严重bug(估计4.0版本之前都有此bug),不可用。