- XML layout design is easy to understand as well keep application user interface separate from the application code.
- There are many devices in the market having different-different display sizes and Android provides an easier task to create UI for all using XML and keeping them separate.
- Also if you want to develop an multilingual application then XML is the best one.
Only use the Java code for layout if you really need otherwise you have still best option XML.
No comments:
Post a Comment