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

python - Setting ctypes.Structure default values -

Ansible - ERROR! the field 'hosts' is required but was not set -

java - HTTP Status 500 - No data type for node: org.hibernate.hql.internal.ast.tree.IdentNode -