Changing background color of Textinput: using setStyle() method.

By default the background color of the Textinput is white and if u wanted to change it u can use the method like setStyle() with the Textinput refernce.

<Style>

.textinputStyle

{

textinput.setStyle(“backgroundColor”,”#00FF00″);

}

</Style>

include this style in textinput control, here textinput is the reference of Textinput

Leave a Reply