| getHint() | ใช้คืนค่า hint ของ Object TextView ( hint คือ คำอธิบาย ) |
|---|
method:getHint ( )
return type:CharSequence
content:ใช้คืนค่า hint ของ Object TextView ( hint คือ คำอธิบาย )
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" ); String text_hint = text.getHint ( ); setContentView ( text ); } }