Explorar o código

Added typeface stuff to the README.

Aidan Follestad %!s(int64=10) %!d(string=hai) anos
pai
achega
e4429988e7
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      README.md

+ 12 - 0
README.md

@@ -319,3 +319,15 @@ MaterialDialog dialog new MaterialDialog.Builder(this)
         .build()
         .show();
 ```
+
+To customize fonts:
+
+```java
+Typeface titleAndActions = // ... initialize
+Typeface contentAndListItems = // ... initialize
+MaterialDialog dialog new MaterialDialog.Builder(this)
+        // ... other initialization
+        .typeface(titleAndActions, contentAndListItems)
+        .build()
+        .show();
+```