TabStopSpan

制表符(Tab)样式。

示例:

TabStopSpan.Standard tabStopSpan = new TabStopSpan.Standard(4);

String text = "打开百度";
SpannableString spannableString = new SpannableString(text);
spannableString.setSpan(tabStopSpan, 0, 0, Spanned.SPAN_INCLUSIVE_INCLUSIVE);

TextView textView = (TextView) findViewById(R.id.text_view);
textView.setText(spannableString);