I'm facing a serious issue with my Application, published on Google Play and apparently working fine on all versions of Android except for > 4.0.
This is a screenshoot from my Android 4.0 HTC phone:
And this is what I get on Nexus 7, Android 4.2.1 (same behaviour in the emulator):
I see the same behaviour for each text drawn using canvas.drawText()
the Paint used to draw text is:
paint = new Paint();
paint.setAntiAlias(true);
paint.setColor(color); //some color
paint.setTextSize(size); //some size
paint.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));
paint.setTextAlign(Align.CENTER);
In the logCat (4.2.1 emulator) I see a lot of
12-18 20:42:21.096: W/Trace(276): Unexpected value from nativeGetEnabledTags: 0
I use these settings in the manifest:
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="8" />
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…