Different hint font style and typed in text font style android -


i want have different font style hint , font style typed in text in edittext. eg. lets hint font size 12 , normal type. when user starts typing edittext, font size of typed text should become 14 , bold. again if user remove text hint should of above mentioned type.

you can programmatically change hint color make different font style typed in edittext using following code

    edittextid.sethinttextcolor(color.alpha(006666)); 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -