Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ToDou committed Sep 21, 2017
1 parent 1acec44 commit 6d417fe
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,24 @@ dependencies {
Usages
====
```xml
<com.loopeer.shadow.ShadowView
android:id="@+id/shadow_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="12dp"
android:elevation="10dp"
android:foreground="?attr/selectableItemBackground"
android:onClick="onShadowClickTest"
android:padding="10dp"
app:cornerRadius="4dp"
app:shadowMargin="20dp"
app:shadowRadius="14dp">

<com.loopeer.shadow.ShadowView
android:id="@+id/shadow_view"
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="12dp"
android:elevation="10dp"
android:foreground="?attr/selectableItemBackground"
android:onClick="onShadowClickTest"
android:padding="10dp"
app:cornerRadius="4dp"
app:shadowMargin="20dp"
app:shadowRadius="14dp">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
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)."/>
</com.loopeer.shadow.ShadowView>
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)."/>
</com.loopeer.shadow.ShadowView>
```

Attribute
Expand Down

0 comments on commit 6d417fe

Please sign in to comment.