@@ -32,12 +32,16 @@ android.graphics.drawable.LayerDrawable}.</dd>
3232 for different states (for example, to use a different image when a button is pressed).
3333 Creates a {@link android.graphics.drawable.StateListDrawable}.</dd>
3434 <dt><a href="#LevelList">Level List</a></dt>
35- <dd>An XML file that defines a Drawable that manages a number of alternate Drawables, each
35+ <dd>An XML file that defines a drawable that manages a number of alternate Drawables, each
3636assigned a maximum numerical value. Creates a {@link
3737android.graphics.drawable.LevelListDrawable}.</dd>
3838 <dt><a href="#Transition">Transition Drawable</a></dt>
39- <dd>An XML file that defines a Drawable that can cross-fade between two drawable resources.
39+ <dd>An XML file that defines a drawable that can cross-fade between two drawable resources.
4040Creates a {@link android.graphics.drawable.TransitionDrawable}.</dd>
41+ <dt><a href="#Inset">Inset Drawable</a></dt>
42+ <dd>An XML file that defines a drawable that insets another drawable by a specified distance.
43+ This is useful when a View needs a background drawble that is smaller than the View's actual
44+ bounds.</dd>
4145 <dt><a href="#Clip">Clip Drawable</a></dt>
4246 <dd>An XML file that defines a drawable that clips another Drawable based on this Drawable's
4347current level value. Creates a {@link android.graphics.drawable.ClipDrawable}.</dd>
@@ -893,7 +897,7 @@ In XML: <code>@[<em>package</em>:]drawable/<em>filename</em></code>
893897<dd>
894898<pre class="stx">
895899<?xml version="1.0" encoding="utf-8"?>
896- <<a href="#transition-element">layer-list </a>
900+ <<a href="#transition-element">transition </a>
897901xmlns:android="http://schemas.android.com/apk/res/android" >
898902 <<a href="#transition-item-element">item</a>
899903 android:drawable="@[package:]drawable/<em>drawable_resource</em>"
@@ -994,13 +998,10 @@ drawable.startTransition(500);
994998
995999
9961000
997-
998-
999-
10001001<h2 id="Inset">Inset Drawable</h2>
10011002
1002- <p>A drawable defined in XML that insets another drawable by a specified distance. This is used when
1003- a View needs a background that is smaller than the View's actual bounds.</p>
1003+ <p>A drawable defined in XML that insets another drawable by a specified distance. This is useful
1004+ when a View needs a background that is smaller than the View's actual bounds.</p>
10041005
10051006<dl class="xml">
10061007
0 commit comments