Skip to content

Commit 6199879

Browse files
committed
update readme
1 parent 4a42bad commit 6199879

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

README.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,59 @@
11
# shadow
2+
3+
[Download Smaple]()
4+
5+
Screenshot
6+
====
7+
![](/screenshot/bottom_radius.jpg)
8+
![](/screenshot/change_shadow_color.jpg)
9+
![](/screenshot/shadow_foreground_change.gif)
10+
![](/screenshot/with_no_top_shadow.jpg)
11+
12+
Installation
13+
====
14+
```groovy
15+
dependencies {
16+
compile 'com.loopeer.lib:shadow:0.0.1'
17+
}
18+
```
19+
Usages
20+
====
21+
```xml
22+
23+
<com.loopeer.shadow.ShadowView
24+
android:id="@+id/shadow_view"
25+
android:elevation="10dp"
26+
android:padding="10dp"
27+
android:layout_width="match_parent"
28+
android:layout_height="wrap_content"
29+
android:layout_margin="12dp"
30+
app:shadowMargin="20dp"
31+
app:shadowRadius="14dp"
32+
app:cornerRadius="4dp"
33+
android:foreground="?attr/selectableItemBackground"
34+
android:onClick="onShadowClickTest">
35+
36+
<TextView
37+
android:layout_width="match_parent"
38+
android:layout_height="wrap_content"
39+
android:text="Google Developer Days Europe 2017 took place in Krakow, Poland. In this playlist, you can find all the recorded sessions from the event, across all tracks (Develop on Mobile, Mobile Web, Beyond Mobile, and Android)."/>
40+
</com.loopeer.shadow.ShadowView>
41+
```
42+
43+
License
44+
====
45+
<pre>
46+
Copyright 2017 Loopeer
47+
48+
Licensed under the Apache License, Version 2.0 (the "License");
49+
you may not use this file except in compliance with the License.
50+
You may obtain a copy of the License at
51+
52+
http://www.apache.org/licenses/LICENSE-2.0
53+
54+
Unless required by applicable law or agreed to in writing, software
55+
distributed under the License is distributed on an "AS IS" BASIS,
56+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
57+
See the License for the specific language governing permissions and
58+
limitations under the License.
59+
</pre>

0 commit comments

Comments
 (0)