| setCursorVisible() | ใช้กำหนดว่าจะให้มี cursor กระพริบอยู่ที่ Object TextView หรือไม่ |
|---|
method:setCursorVisible ( boolean visible )
return type:void
content:ใช้กำหนดว่าจะให้มี cursor กระพริบอยู่ที่ Object TextView หรือไม่
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.setCursorVisible ( true ); setContentView ( text ); } }