<dimen name="txtsize">20sp</dimen>
tv=new TextView(this); tv.setTextSize(R.dimen.txtsize); tv.setText("hi guys !")
tv.setTextSize(20);
tv.setTextSize(getResources().getDimension(R.dimen.txtsize));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)