diff --git a/docs/html/tools/data-binding/guide.jd b/docs/html/tools/data-binding/guide.jd index 7d20b6afcf8a1..9629bb022201d 100644 --- a/docs/html/tools/data-binding/guide.jd +++ b/docs/html/tools/data-binding/guide.jd @@ -193,7 +193,10 @@ repository in the Android SDK manager.

To configure your app to use data binding, add the dataBinding element to your -top-level build.gradle file with the following configuration:

+build.gradle file in the app module. +

+ +

Use the following code snippet to configure data binding:

 android {
@@ -204,6 +207,9 @@ android {
 }
 
+

If you have an app module that depends on a library which uses data binding, your app module + must configure data binding in its build.gradle file as well.

+

Also, make sure you are using a compatible version of Android Studio. Android Studio 1.3 adds the code-completion and layout-preview support for data binding.