我使用代码
模糊TextView rowTitle.setText("Some");
rowTitle2.setText("(City)");
//rowTitle.setText("Some title");
//rowTitle2.setText("(City)");
radius = rowTitle.getTextSize() / 3;
filter = new BlurMaskFilter(radius, BlurMaskFilter.Blur.NORMAL);
rowTitle.setLayerType(View.LAYER_TYPE_HARDWARE, null);
rowTitle.getPaint().setMaskFilter(filter);
答案 0 :(得分:0)
如果删除
,一切正常<TextView
android:textAppearance="?android:textAppearanceMedium"
/>