method:setHorizontallyScrolling ( boolean whether )
return type:void
content:ใช้กำหนดว่า ต้องการให้ข้อความภายใน Object TextView ยาวไปเรื่อยๆใช่หรือไม่
( คือถ้ากำหนด true ก็จะไม่มีการตัดคำขึ้นบรรทัดใหม่ให้ )
example:public class AndroidBamboo extends Activity
{
public void onCreate( Bundle savedInstanceState )
{
super.onCreate ( savedInstanceState );
TextView text = new TextView ( this );
text.setText ( "WelCome To BambooLabCode.com" );
text.setHorizontallyScrolling ( true );
setContentView ( text );
}
}