[android-developers] Mystery device missing style attributes?

2011-01-16 Thread Brill Pappin
I'm getting this exception: java.lang.ArrayIndexOutOfBoundsException at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:455) from this code: TypedArray array = context.getTheme().obtainStyledAttributes(style, new int[] { android.R.attr.textSize }); int

Re: [android-developers] Mystery device missing style attributes?

2011-01-16 Thread Dianne Hackborn
textSize is not defined in the platform's base theme. These are the text size-related attributes in the theme: !-- Default appearance of text: color, typeface, size, and style. -- attr name=textAppearance format=reference / !-- Default appearance of text against an