Quite often, I employ a similar "theme" on labels, buttons and edittexts throughout my apps. By theme, I mean color, text size, text color, typeface, vertical and horizontal gravity. This necessitates alot of code typing, to individually set these properties of each view. I was wondering if there might be some functionality I am unaware of that could be used to employ some sort of "style". Something like myLabel.style=function_name(mycolor, mytextsize, mytypeface) etc. know I am inventing my own code here but just for clarification.