Home > .Of Interest > Drawing Shapes in Android

Drawing Shapes in Android

Reblogged from Android Research Blog:

Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post

In this post I would like to share my findings about defining and using shapes.  A shape is an XML file that defines a geometric shape, including strokes, colors and gradients

To define a shape:

1. Create a new Android XML file in the folder res/drawable

2. Make sure the root element of the file is <shape >. (If it's not, then change it manually)

Read more… 425 more words

Categories: .Of Interest
  1. April 19, 2012 at 3:29 pm | #1

    Reblogged this on PLUGININ.ORG.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 477 other followers

%d bloggers like this: