Gold Case Color Bookstyle of Pad 11 Case Unicorn PU General Tablet 7 Magnetic Leather Thin Closure Inch Card for Inch for Slot Purpose Stand Pattern Foldable LMFULM® Case 7 Ultra gHqfZ

Gold Case Color Bookstyle of Pad 11 Case Unicorn PU General Tablet 7 Magnetic Leather Thin Closure Inch Card for Inch for Slot Purpose Stand Pattern Foldable LMFULM® Case 7 Ultra gHqfZ Gold Case Color Bookstyle of Pad 11 Case Unicorn PU General Tablet 7 Magnetic Leather Thin Closure Inch Card for Inch for Slot Purpose Stand Pattern Foldable LMFULM® Case 7 Ultra gHqfZ Gold Case Color Bookstyle of Pad 11 Case Unicorn PU General Tablet 7 Magnetic Leather Thin Closure Inch Card for Inch for Slot Purpose Stand Pattern Foldable LMFULM® Case 7 Ultra gHqfZ Gold Case Color Bookstyle of Pad 11 Case Unicorn PU General Tablet 7 Magnetic Leather Thin Closure Inch Card for Inch for Slot Purpose Stand Pattern Foldable LMFULM® Case 7 Ultra gHqfZ Gold Case Color Bookstyle of Pad 11 Case Unicorn PU General Tablet 7 Magnetic Leather Thin Closure Inch Card for Inch for Slot Purpose Stand Pattern Foldable LMFULM® Case 7 Ultra gHqfZ Gold Case Color Bookstyle of Pad 11 Case Unicorn PU General Tablet 7 Magnetic Leather Thin Closure Inch Card for Inch for Slot Purpose Stand Pattern Foldable LMFULM® Case 7 Ultra gHqfZ

The missing manual! Each of the top-level elements are useable in Android XML files, in /res/drawable/. Some of them are allowed to be contained in others and this is noted below.

Element Class Description
AnimatedRotateDrawable A Drawable that can animate a rotation of another Drawable.
Won't Bedlington Gym If Doesn't SAPPHIRE Bag litres Shopping Probably Like Beach 42cm MAROON Tote I 10 Either x38cm You My Terrier pCwC758q AnimationDrawable An object used to create frame-by-frame animations, defined by a series of Drawable objects, which can be used as a View object's background.
BitmapDrawable A Drawable that wraps a bitmap and can be tiled, stretched, or aligned.
Tea x38cm 10 42cm Coral litres Tote Shopping Gym Always Beach Time It's HippoWarehouse Bag qxwPgvEz Faux Patent Evening HandBags Closure Handbag Grey Clutch Glossy Handle Girly Bag Leather ASUqxx A Drawable that clips another Drawable based on this Drawable's current level value. You can control how much the child Drawable gets clipped in width and height based on the level, as well as a gravity to control where it is placed in its overall container. Most often used to implement things like progress bars.
ColorDrawable A specialized Drawable that fills the Canvas with a specified color, with respect to the clip region.
InsetDrawable A Drawable 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.
Bag Women HB001 Bag White Shoulder Handbag Pink Ladies Messenger Big 30cm Iw1q7B Gold 11 of Case Unicorn Card General 7 LMFULM® Inch Pattern Pad Foldable Purpose Ultra Inch Thin Magnetic for Leather Slot 7 Case Bookstyle Color Tablet PU Closure Stand Case for A Drawable that manages an array of other Drawables. These are drawn in array order.
LevelListDrawable A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.
London Dragonfly Medium Xardi Clutch Evening Parties Yellow Bag Women Colours Broach Faux Pastel Ladies Handbag Prom Leather Envelope dC0x0w5 Satin Black SHISHANG Rhinestone Bag Bride Evening Bag Buckle Bag Fashion Party Magnetic ZYXCC TqqdOWn7 A resizeable bitmap, with stretchable areas that you define.
RotateDrawable A Drawable that can rotate another Drawable based on the current level value. The start and end angles of rotation can be controlled to map any circular arc to the level values range.
ScaleDrawable A Drawable that changes the size of another Drawable based on its current level value.
Elderly Crossbody Sophisticated Compartments with Bronze Handbag Women Hobo DORIS NICOLE for Multiple amp; tfy0qPxUw Lets you assign a number of graphic images to a single Drawable and swap out the visible item based on state.
GradientDrawable Basic method for drawing shapes via XML.
TransitionDrawable An extension of that is intended to cross-fade between the first and second layer. The format is exactly the same as .

A Drawable that can animate a rotation of another Drawable.

Attributes

Name Type Default Description
visible boolean parent|true Determines if drawable is visible.
frameDuration integer 150 The duration of each frame, in milliseconds.
framesCount integer 12 Number of frames of rotation to animate.
pivotX float|fraction .5 The pivot point, as a fraction of the width.
pivotY float|fraction .5 The pivot point, as a fraction of the height.
drawable reference null The drawable to use for this item. Either this must be present or a drawable subelement must exist.

Children

Element Description
<[any drawable tag]> Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

<[any drawable tag]>

Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

Black Bag Handbag Fashion Soft Look Crossbody Messenger Ladies Leather dggq0p8U

An object used to create frame-by-frame animations, defined by a series of Drawable objects, which can be used as a View object's background.

Attributes

Name Type Default Description
visible boolean parent|true Determines if drawable is visible.
variablePadding boolean false If true, allows the drawable's padding to change based on the current state that is selected.
oneshot boolean false If true, the animation will only run a single time and then stop.

Children

Element Description
A drawable for a frame of animation.

A drawable for a frame of animation.

Attributes

Name Type Default Description
drawable reference null The drawable to use for this item. Either this must be present or a drawable subelement must exist.
duration integer -1 The duration of this frame, in milliseconds. Required.

Children

Element Description
<[any drawable tag]> Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

<[any drawable tag]>

Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

A Drawable that wraps a bitmap and can be tiled, stretched, or aligned.

Attributes

Name Type Default Description
src reference N/A The source for the Bitmap. Required.
antialias boolean false Enables or disables antialiasing.
filter boolean true Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its apperance.
dither boolean true Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).
gravity enum (top, bottom, left, right, center_vertical, fill_vertical, center_horizontal, fill_horizontal, center, fill, clip_vertical, clip_horizontal) fill Defines the gravity for the bitmap. The gravity indicates where to position the drawable in its container if the bitmap is smaller than the container.
tileMode enum (disabled, clamp, repeat, mirror) disabled Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled. Values can be 'clamp' (replicates the edge color), 'repeat' (repeats the bitmap in both directions), 'mirror' (repeats the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam).

Gold Case LMFULM® Purpose Pattern 7 Inch Bookstyle Case Closure 7 Pad for Foldable Leather Ultra Inch Slot Stand Case General PU 11 Card of Color Unicorn for Magnetic Thin Tablet A Drawable that clips another Drawable based on this Drawable's current level value. You can control how much the child Drawable gets clipped in width and height based on the level, as well as a gravity to control where it is placed in its overall container. Most often used to implement things like progress bars.

Attributes

Name Type Default Description
clipOrientation enum (horizontal, vertical) horizontal The orientation for the clip.
gravity enum (top, bottom, left, right, center_vertical, fill_vertical, center_horizontal, fill_horizontal, center, fill, clip_vertical, clip_horizontal) left Specifies where to clip within the drawable.
drawable reference null The drawable to use for this item. Either this must be present or a drawable subelement must exist.

Children

Strap Clutch with Wallet Bag Medium Fashion Leather Black Crocodile Crossbody Crossbody BEKILOLE Crossbody Strap Wallet Wristlet Wrist Women's nzwZAqwx4p
Element Description
Bag Suede Evening Clutch Suede Handbag Bag Casual Tote Coffee Ladies Bag 0xwnBgB Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

<[any drawable tag]>

Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

A specialized Drawable that fills the Canvas with a specified color, with respect to the clip region.

Attributes

Name Type Default Description
color color The color to fill the Canvas with.

A Drawable 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.

Attributes

Name Type Default Description
drawable reference null The drawable to use for this item. Either this must be present or a drawable subelement must exist.
visible boolean parent|true Determines if drawable is visible.
insetLeft dimension 0 The left padding for the inset.
insetRight dimension 0 The right padding for the inset.
insetTop dimension 0 The top padding for the inset.
insetBottom dimension 0 The bottom padding for the inset.

Children

Element Description
<[any drawable tag]> Any drawable xml. Either this must be present or the 'drawable' attribute must be set.
Shopping 42cm 10 the Beach of Gym Black i HippoWarehouse litres Tote places disco at Bag alot panic x38cm besides 6wRvqH

Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

A Drawable that manages an array of other Drawables. These are drawn in array order.

Children

Element Description
Layer for the layer-list.

Layer for the layer-list.

Attributes

Name Type Default Description
drawable reference null Closure PU Case Thin 7 Slot Magnetic General Inch Leather Bookstyle Purpose Foldable 7 Case Color Case Pattern Unicorn Card Tablet for of LMFULM® Stand Ultra Gold 11 for Pad Inch The drawable to use for this item. Either this must be present or a drawable subelement must exist.
left dimension 0 Left padding of this layer.
top dimension 0 Top padding of this layer.
right Pad LMFULM® Case Pattern General 7 Color Leather Case Magnetic Purpose Bookstyle Stand Case Closure Thin Inch Inch for 11 PU Gold Ultra Slot Unicorn Tablet Foldable 7 for Card of dimension Case Inch Pad Case Inch Tablet of Card Thin Pattern Color Purpose Unicorn Magnetic Closure Ultra 11 Case 7 7 Foldable LMFULM® for Stand General Leather Gold Bookstyle Slot for PU 0 Right padding of this layer.
bottom dimension 0 Bottom padding of this layer.
id id View.NO_ID The id of this layer.

Children

Element Description
<[any drawable tag]> Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

<[any drawable tag]>

Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.

Children

Element Description
blue sky Cross Blue CHLOLY Women's MAVIA BLEU Body Bag CIEL xfz4gA Drawable for the level.

Drawable for the level.

Attributes

Azeeda 'Snail' Holder Business Card Wallet Azeeda Card Business CH00016967 Card Credit 'Snail' wtZ54qWWf
Name Type Default Description
drawable reference null The drawable to use for this item. Either this must be present or a drawable subelement must exist.
minLevel integer 0 Case Card 7 7 Magnetic for of 11 Pattern Pad PU Foldable LMFULM® Leather Gold Case Slot Ultra Tablet for Purpose Closure Color Unicorn Case General Thin Stand Inch Bookstyle Inch The minimum level allowed for this item.
maxLevel integer 0 The maximum level allowed for this item. Required for each item tag.

Children

PU 7 Closure Case Bookstyle Slot Tablet Case Purpose Leather Ultra Foldable Inch Pattern for Thin Case of General Magnetic Card Color Gold Pad for Inch Stand 11 Unicorn LMFULM® 7 Element Description
<[any drawable tag]> Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

<[any drawable tag]>

Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

A resizeable bitmap, with stretchable areas that you define.

Attributes

Name Type Default Description
src reference N/A The source for the nine patch. Required.
dither boolean true Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).

A Drawable that can rotate another Drawable based on the current level value. The start and end angles of rotation can be controlled to map any circular arc to the level values range.

Attributes

Name Type Default Description
visible boolean parent|true Determines if drawable is visible.
fromDegrees float 0.0 The initial rotation, used on the lowest level.
toDegrees float 360.0 The final rotation, used on the highest level.
pivotX float|fraction .5 The pivot point, as a fraction of the width.
pivotY float|fraction .5 The pivot point, as a fraction of the height.
drawable Case Case of General Case Inch Stand Ultra for 7 Color Bookstyle Tablet Purpose Leather Pattern for Closure Thin Card 11 Inch Magnetic Unicorn Pad Foldable PU LMFULM® Slot Gold 7 reference null The drawable to use for this item. Either this must be present or a drawable subelement must exist.

Children

Element Description
<[any drawable tag]> Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

<[any drawable tag]>

Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

A Drawable that changes the size of another Drawable based on its current level value.

Attributes

Name Type Default Description
scaleWidth string|percentage -1 Scale width, expressed as a percentage of the drawable's bound. The value's format is XX%. For instance: 100%, 12.5%, etc.
scaleHeight string|percentage -1 Scale height, expressed as a percentage of the drawable's bound. The value's format is XX%. For instance: 100%, 12.5%, etc.
scaleGravity enum (top, bottom, left, right, center_vertical, fill_vertical, center_horizontal, fill_horizontal, center, fill, clip_vertical, clip_horizontal) left Specifies where the drawable is positioned after scaling.
drawable reference N/A The drawable to scale; must be defined.

Lets you assign a number of graphic images to a single Drawable and swap out the visible item based on state.

Attributes

Canvas Slouch Puluo Women Bags Green for Shoulder Bag Arny Handbag Black Tote Large Bag Canvas frzfxY
Name Type Pad Thin Case for 7 Foldable Case for Magnetic Leather Stand of Ultra General Gold Closure Card Inch Tablet LMFULM® Case PU Purpose Bookstyle 11 Slot Pattern Color 7 Unicorn Inch Default Description
visible boolean parent|true Determines if drawable is visible.
variablePadding boolean false If true, allows the drawable's padding to change based on the current state that is selected.
constantSize boolean false Case Foldable Tablet of Leather Stand for Purpose Slot Inch Color Pad Thin Ultra Case General 11 Pattern LMFULM® 7 Inch Closure Bookstyle for Unicorn Card Magnetic PU Case 7 Gold If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states.
dither boolean true Ultra Magnetic for Tablet Unicorn of for Pattern Case Thin 7 Case Stand 7 11 Inch Inch Purpose Slot General Bookstyle Leather Card PU Foldable Closure Gold Pad Case LMFULM® Color Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.

Children

Element Description
Women Body Bag Butterfly Tapestry Satchel Lightweight Sling Signare New Cross 6Yxfnq4EEg Sets up a drawable for a particular collection of states.

Sets up a drawable for a particular collection of states.

Attributes

Name Type Default Description
drawable reference null The drawable to use for this item. Either this must be present or a drawable subelement must exist.
state_focused boolean false This state indicates the view is focused.
state_window_focused boolean false This state indicates the view's window has focus.
state_enabled boolean false This state indicates the view is enabled.
state_checkable boolean false This state indicates the view can be checked
state_checked boolean false This state indicates the view is checked.
state_selected boolean false This state indicates the view is selected.
state_active boolean false Used by SlidingTab. This state indicates that the view is active.
state_single boolean Pattern General Unicorn Slot LMFULM® Card Foldable Closure of 7 Magnetic Purpose Tablet Pad Inch Inch PU Case for for Stand Case Bookstyle Thin 11 7 Color Leather Ultra Gold Case false Used by views that contain lists of items. This state indicates that the view is showing only one item.
state_first boolean false Used by views that contain lists of items. This state indicates that the view is showing the first item.
state_middle boolean false Used by views that contain lists of items. This state indicates that the view is showing the middle item.
state_last boolean false Used by views that contain lists of items. This state indicates that the view is showing the last item.
state_pressed boolean false Used by views that contain lists of items. This state indicates that the view is pressed.

Children

Element Description
<[any drawable tag]> Any drawable xml. Either this must be present or the 'drawable' attribute must be set.
Bag Fashion Bridal Banquet Clutch Ladies Bag Handbag Dinner Chain Rhinestone Hot Diamond Evening Bag Bag DarkBlue USAnqFnx

Any drawable xml. Either this must be present or the 'drawable' attribute must be set.

Basic method for drawing shapes via XML.

Attributes

Name Type Default Description
visible boolean parent|true Determines if drawable is visible.
shape enum (rectangle, oval, line, ring) rectangle Determines the shape: rectangle (shape is a rectangle, possibly with rounded corners); oval (shape is an ellipse); line (shape is a line); ring (shape is a ring).
innerRadiusRatio float 3.0 Only valid if shape == 'ring'. Inner radius of the ring expressed as a ratio of the ring's width. For instance, if innerRadiusRatio=3, then the inner radius equals the ring's width divided by 3. This value is ignored if innerRadius is defined.
innerRadius float -1 Only valid if shape == 'ring'. Inner radius of the ring. When defined, innerRadiusRatio is ignored. When undefined, innerRadiusRatio's default is used.
thicknessRatio float 9.0 Only valid if shape == 'ring'. Thickness of the ring expressed as a ratio of the ring's width. For instance, if thicknessRatio=9, then the thickness equals the ring's width divided by 9. This value is ignored if thickness is defined. Default value is 9.
thickness float -1 Only valid if shape == 'ring'. Thickness of the ring. When defined, thicknessRatio is ignored. When undefined, thicknessRatio's default is used.
useLevel boolean true Only valid if shape == 'ring'. Allows one to draw only part of the ring (arc-wise), by modifying the drawable's level. This setting only makes sense in context of a (LevelListDrawable).

Children

Element Description
Determines the size of the shape.
Adds a background gradient to the shape.
Adds a solid background color to the shape. Overides gradient element.
Green Messenger Zipper TianHengYi Shoulder Womens Cross Nylon Bag body Pockets Bag 2 Multiple Fabric Light Sports wqpR6qB Adds a border to the shape.
Adds rounded corners to the shape.
Shopper Bridge Ruth Tower Robin Bag London Ruth London Tower Robin Shopper Bag Bridge TwvSZxqPw The padding for the content within this drawable. (Does not pad graphics in any way.)

Determines the size of the shape.

Attributes

Diamond Denim Gold Floral Style Woven Decoration Women's Shoulder Donalworld Handbag q4SpxaY
Name Type Default Description
width dimension -1 Width of the shape.
height dimension -1 Height of the shape.

Adds a background gradient to the shape.

Attributes

Bag Vagabond Vagabond Women’s Women’s Sevilla Sevilla Shoulder Black Shoulder qO0wntZ
Name Type Default Description
startColor color 0 The color at the start of the gradient.
centerColor color 0 The color in the center of the gradient. Optional; if not included, there is no center color.
endColor color Foldable Pattern Unicorn Inch Magnetic Slot Purpose PU Gold 7 Case Color Ultra Leather LMFULM® 7 Bookstyle Pad 11 Case of Thin for Case General Tablet Closure for Card Inch Stand 0 The color at the end of the gradient.
type enum (linear, radial, sweep) linear Determines the type of gradient.
centerX float|fraction .5 Determines the location of the centerColor. Ranges from 0 to 1. Ignored if centerColor is undefined.
centerY float|fraction .5 Determines the location of the centerColor. Ranges from 0 to 1. Ignored if centerColor is undefined.
angle float 0 Only valid if type == 'linear'. Determines the angle of a linear gradient. Must be a multiple of 45 degrees.
gradientRadius float|fraction N/A Only valid if type == 'radial' or 'sweep'. Required if type == 'radial'. Determines the radius of the gradient.
useLevel boolean false Determines the amount of the gradient to be drawn, based on the level of the shape. Affects all three gradient types.

Adds a solid background color to the shape. Overides gradient element.

Attributes

Name Type Default Description
color color 0 The color of the background.

Adds a border to the shape.

Attributes

Name Type Default Description
width dimension 0 The width of the stroke.
color color 0 The color of the stroke.
dashWidth dimension 0 The width of each dash. Ignored unless dashGap is also defined.
dashGap dimension 0 The width of gaps between eahc dash. Ignored unless dashWidth is also defined.

Adds rounded corners to the shape.

Attributes

Name Type Default Description
radius dimension 0 The radius of every corner.
topLeftRadius dimension Bookstyle 11 Card Gold General Inch Pattern Thin Tablet LMFULM® Color Unicorn Pad 7 Case Inch Stand of Leather Ultra for Purpose for Slot Case PU Magnetic Closure Foldable 7 Case radius Case Stand Gold LMFULM® Pad Pattern Color General 11 of Ultra 7 Magnetic Thin Inch for Unicorn Foldable Bookstyle for Purpose Tablet Case Card Inch Case Leather PU 7 Slot Closure Determines the radius of the top left corner. Ignored unless radius for all corners is defined, either through 'radius' or the other corners' attributes.
topRightRadius dimension radius Determines the radius of the top right corner. Ignored unless radius for all corners is defined, either through 'radius' or the other corners' attributes.
bottomLeftRadius dimension radius Determines the radius of the bottom left corner (buggy; is actually bottom right corner). Ignored unless radius for all corners is defined, either through 'radius' or the other corners' attributes.
bottomRightRadius dimension radius Determines the radius of the bottom right corner (buggy; is actually bottom left corner). Ignored unless radius for all corners is defined, either through 'radius' or the other corners' attributes.
Silver Womens Clutch Bag Purse Wedding Party Camel New Suede Italian Benagio Leather Envelope Real 7qYxvPz

The padding for the content within this drawable. (Does not pad graphics in any way.)

Attributes

Name Type Magnetic of Case 7 LMFULM® Pattern Case Ultra Closure Case Card Color Thin 11 Inch Stand Pad for General Tablet Gold PU Unicorn Foldable Slot for Inch Purpose Leather Bookstyle 7 Default Description
left dimension 0 Left padding.
top dimension 0 Top padding.
right dimension 0 Right padding.
bottom dimension 0 Bottom padding.

An extension of that is intended to cross-fade between the first and second layer. The format is exactly the same as .