Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix prefixes for icons
  • Loading branch information
Malinskiy committed Jul 13, 2015
1 parent 258a8ef commit 469d548
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If you need icons on a ```TextView```, use the ```{ }``` syntax. You can put any

```xml
<IconTextView
android:text="{md-android}"
android:text="{zmdi-android}"
android:shadowColor="#22000000"
android:shadowDx="3"
android:shadowDy="3"
Expand All @@ -37,7 +37,7 @@ If you need an icon in an ```ImageView``` or in your ```ActionBar```, then you s
```java
// Set an icon in the ActionBar
menu.findItem(R.id.share).setIcon(
new IconDrawable(this, IconValue.fa_share)
new IconDrawable(this, IconValue.zmdi_share)
.colorRes(R.color.ab_icon)
.actionBarSize());
```
Expand All @@ -50,7 +50,7 @@ menu.findItem(R.id.share).setIcon(
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="{md-account-circle}"
android:text="{zmdi-android}"
android:textSize="48dp"
app:hacky_preview="true"/>
```
Expand Down

0 comments on commit 469d548

Please sign in to comment.