Browse Source

Fix for custom fonts explanation in the README.

ciskeboekelo 10 years ago
parent
commit
2f6b4f6230
1 changed files with 3 additions and 3 deletions
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -327,8 +327,8 @@ using the `Builder`. This will result in the library not applying Roboto and Rob
 and everything will use the regular system font.
 and everything will use the regular system font.
 
 
 If you want to explicitly use custom fonts, you can make a call to `typeface(String, String)` when
 If you want to explicitly use custom fonts, you can make a call to `typeface(String, String)` when
-using the `Builder`. This will pull fonts from TTF files in your project's `assets` folder. For an example,
-if you had `Roboto.ttf` and `Roboto-Light.ttf` in `/src/main/assets`, you would call `typeface("Roboto", "Roboto-Light")`.
+using the `Builder`. This will pull fonts from TTF files in your project's `assets` folder. For example,
+if you had `Roboto.ttf` and `Roboto-Light.ttf` in `/src/main/assets/fonts`, you would call `typeface("Roboto", "Roboto-Light")`.
 Note that no extension is used in the name. This method will also handle recycling Typefaces via the `TypefaceHelper` which
 Note that no extension is used in the name. This method will also handle recycling Typefaces via the `TypefaceHelper` which
 you can use in your own project to avoid duplicate allocations.
 you can use in your own project to avoid duplicate allocations.
 
 
@@ -612,4 +612,4 @@ MaterialDialog dialog new MaterialDialog.Builder(this)
         // ... other initialization
         // ... other initialization
         .autoDismiss(false)
         .autoDismiss(false)
         .show();
         .show();
-```
+```