diff --git a/docs/html/guide/topics/resources/drawable-resource.jd b/docs/html/guide/topics/resources/drawable-resource.jd index 79ce6696f644a..129462e5cb312 100644 --- a/docs/html/guide/topics/resources/drawable-resource.jd +++ b/docs/html/guide/topics/resources/drawable-resource.jd @@ -32,12 +32,16 @@ android.graphics.drawable.LayerDrawable}. for different states (for example, to use a different image when a button is pressed). Creates a {@link android.graphics.drawable.StateListDrawable}.
@[package:]drawable/filename
<?xml version="1.0" encoding="utf-8"?>
-<layer-list
+<transition
xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="@[package:]drawable/drawable_resource"
@@ -994,13 +998,10 @@ drawable.startTransition(500);
-
-
-
Inset Drawable
-A drawable defined in XML that insets another drawable by a specified distance. This is used when
-a View needs a background that is smaller than the View's actual bounds.
+A drawable defined in XML that insets another drawable by a specified distance. This is useful
+when a View needs a background that is smaller than the View's actual bounds.