浏览代码

Yet another README update

Aidan Follestad 10 年之前
父节点
当前提交
fa17c2ad4f
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      README.md

+ 3 - 2
README.md

@@ -342,8 +342,9 @@ including ListViews, RecyclerViews, WebViews, GridViews, etc. The sample project
 Your custom view will automatically have padding put around it when `wrapInScrollView` is true. Otherwise
 you're responsible for using padding values that look good with your content.
 
-If you need to access a View in the custom view after the dialog is built and shown, you can use `getCustomView()` of
-`MaterialDialog`.
+If you need to access a View in the custom view after the dialog is built, you can use `getCustomView()` of
+`MaterialDialog`. This is especially useful if you pass a layout resource to the `Builder`, the dialog will
+handle the view inflation for you.
 
 ```java
 MaterialDialog dialog = //... initialization via the builder ...