textView 的 xml里设置属性 android:scrollbars="horizontal" activity 中设置 textView.setMovementMethod(ScrollingMovementMethod.getInsdtance);