Thursday 1 May 2014

Why we are using XML Design for Android Apps?


  1. XML layout design is easy to understand as well keep application user interface separate from the application code.
  2. 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.
  3. Also if you want to develop an multilingual application then XML is the best one.
  Bottom line:
       Only use the Java code for layout if you really need otherwise you have still best option XML.

No comments:

Post a Comment