Переглянути джерело

Fix for custom fonts explanation in the README.

ciskeboekelo 10 роки тому
батько
коміт
2f6b4f6230
1 змінених файлів з 3 додано та 3 видалено
  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.
 
 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
 you can use in your own project to avoid duplicate allocations.
 
@@ -612,4 +612,4 @@ MaterialDialog dialog new MaterialDialog.Builder(this)
         // ... other initialization
         .autoDismiss(false)
         .show();
-```
+```