diff --git a/docs/html/guide/topics/resources/complex-xml-resources.jd b/docs/html/guide/topics/resources/complex-xml-resources.jd
index 66dcb58347ab2..ebf7bc3f02280 100644
--- a/docs/html/guide/topics/resources/complex-xml-resources.jd
+++ b/docs/html/guide/topics/resources/complex-xml-resources.jd
@@ -93,8 +93,7 @@ Since we’re making an animated vector drawable, we put the file under re
</vector>
<aapt:attr />
- <target
- android:name="rotationGroup" />
+ <target android:name="rotationGroup">
<aapt:attr name="android:animation" >
<objectAnimator
android:duration="6000"
@@ -102,6 +101,7 @@ Since we’re making an animated vector drawable, we put the file under re
android:valueFrom="0"
android:valueTo="360" />
<aapt:attr>
+ </target>
</animated-vector>