在同一个TextView里显示不同样式的字体 public void setSpan(Object what, int start, int end, int flags); 样式1:背景色.粗体.字体大小 效果 Code TextView textView = (TextView) findViewById(R.id.text_view_font_1); Spannable string = new SpannableString("修改背景色.粗体.字体大小"); // 背景色 s
1.启用终端颜色 修改配置文件 $ vim .bash_profile #enables colorin the terminal bash shell export export CLICOLOR=1 #sets up thecolor scheme for list export export LSCOLORS=gxfxcxdxbxegedabagacad #sets up theprompt color (currently a green similar to linux termina