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 -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -