[android] How to define a circle shape in an Android XML drawable file?

Just use

ShapeDrawable circle = new ShapeDrawable( new  OvalShape() );