TextView 怎么设置首行缩进

方式一:

在string.xml文件中

得到文件中的字符串 String jdsc_text=(String) this.getResources().getString(R.string.jdsc_text);

textview对象调用setText(jdsc_text);

方式二:

这种方式不同分辨率会有问题

setText(""+xxxxx);