• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Java or XML

devEndure

Newbie
I'm trying to figure out what is more efficient performance wise, would it be better to create controls in java runtime or should I just stick to using XML?
 
While I can't comment with certainty on whether XML creates a performance hit or not, I can say that I've never thought the program was too slow on loading because of using XML. Also, I'm in agreement with the developers on this, declaring your widgets and layouts in the XML file certainly does clean up your Java classes quite a bit making them more readable and logical.
 
Yeah that does make sense. I actually prefer XML but thought maybe if I tried java it would be slightly better.. Thanks for the feedback!
 
Back
Top Bottom