Android view background color in runtime -


i set background color of views in run-time (i'm getting color server request). these views have default color, , if color server change @ once. there way happen automatically setting parameter, or way can calling setbackground each of views. thanks

create every view type class extends corresponding class( bkgedittext extends edittext or bkgview extends view) , change background color custom 1 in constructor. way, view have desired color when added xml or code.


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

javascript - After add transform scale, I can't set the section to center -