Hello rmeph,
SDK-Documentation says

. Your problem probably was that you supplied "10px" to the parameters and not
floating point values:
public static final int shadowDx
Horizontal offset of the shadow.
Must be a floating point value, such as "1.2".
#############
public static final int shadowDy
Vertical offset of the shadow.
Must be a floating point value, such as "1.2".
#############
public static final int shadowRadius
Radius of the shadow.
Must be a floating point value, such as "1.2".
The following worked fine with me:
Using xml Syntax Highlighting
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:shadowColor="#F00"
android:shadowDx="1.2"
android:shadowDy="1.2"
android:shadowRadius="1.2"
android:text="Test" />
Parsed in 0.001 seconds, using
GeSHi 1.0.8.4
Regards,
plusminus