| getInputType() | ใช้คืนค่า ประเภท ของ input |
|---|
method:getInputType ( )
return type:int
content:ใช้คืนค่า ประเภท ของ input
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" ); int input_type = text.getInputType ( ); setContentView ( text ); } }