| getFreezesText() | ใช้ตรวจสอบว่า Object TextView เป็นแบบ freeze text หรือไม่ |
|---|
method:getFreezesText ( )
return type:boolean
content:ใช้ตรวจสอบว่า Object TextView เป็นแบบ freeze text หรือไม่
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" ); if ( text.getFreezesText ( ) ) { text.setFreezesText ( false ); } setContentView ( text ); } }