소스 검색

Added typeface stuff to the README.

Aidan Follestad 10 년 전
부모
커밋
e4429988e7
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  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();
+```