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