A little curiosity in the corners element of <shape> is that the the radius attributes do not seem to correspond to the logical corners, specifically the bottom left corners are transposed, for example the following xml was used to round the two right hand corners of a shape:
<corners android:topLeftRadius="0.1dp"
android:topRightRadius="6dp"
android:bottomRightRadius="0.1dp"
android:bottomLeftRadius="6px" />
As you can see the bottom left attribute is set to 6px yet the bottom right corner is rounded.
Another oddity is that you cannot set any corner to 0dp, if you do then non of the corners are rounded.
Do these seem like crazy little bugs, or am I going mad?