| setHintTextColor() | ใช้กำหนดค่า สีของตัวอักษร ของ hint ของ Object TextView |
|---|
method:setHintTextColor ( int color )
return type:void
content:ใช้กำหนดค่า สีของตัวอักษร ของ hint ของ 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.setHintTextColors ( Color.RED ); setContentView ( text ); } }