TextView textView =new TextView(context);
textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textsize);
textView.setText("联名卡号");
float itemwith = textPaint.measureText(loginconfigRsp.getChannel());
TextView textView =new TextView(context);
textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textsize);
textView.setText("联名卡号");
float itemwith = textPaint.measureText(loginconfigRsp.getChannel());
本文标题:如何在TextView 没有显示的时候获取宽度
本文链接:https://www.haomeiwen.com/subject/jptabftx.html
网友评论