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 -

c - Defining floating point constants, how many digits are useful? -

C# Apple Bonjour - how to monitor service records within Windows -