Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
woxingxiao committed May 8, 2017
1 parent 56ebd2a commit b177dfb
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ root project:`build.gradle`
app:`build.gradle`
```groovy
dependencies {
// e.g. compile 'com.github.woxingxiao:VectorCompatTextView:1.0'
// e.g. compile 'com.github.woxingxiao:VectorCompatTextView:1.3'
compile 'com.github.woxingxiao:VectorCompatTextView:${LATEST_VERSION}'
}
```
Expand All @@ -46,5 +46,17 @@ app:`build.gradle`
app:drawableRightCompat="@drawable/svg_ic_arrow_right"
app:tintDrawableInTextColor="true"/> <!--tint-->
```
```xml
<com.xw.repo.VectorCompatTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/color_gray_light"
android:gravity="center_vertical"
android:padding="16dp"
android:text="Next"
android:textSize="16sp"
app:drawableCompatColor="@color/color_red"
app:drawableRightCompat="@drawable/svg_ic_arrow_right"/>
```
# LICENSE
[MIT](https://github.com/woxingxiao/VectorCompatTextView/blob/master/LICENSE)

0 comments on commit b177dfb

Please sign in to comment.