| getHintTextColors() | ใช้คืนค่า สีของตัวอักษร ของ hint ของ Object TextView |
|---|
method:getHintTextColors ( )
return type:ColorStateList
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" ); ColorStateList hint_color = text.getHintTextColors ( ); setContentView ( text ); } }