Android with out XML

Discussion in 'Programmer's Corner' started by TheFox, Feb 5, 2012.

  1. TheFox

    Thread Starter Active Member

    Apr 29, 2009
    I've been looking at the Android SDK for about 2 days, I wanted to hard code everything in; but all of the examples I find use as little java as possible, and as much XML as they can.

    Is there a reason XML is used so much; other than less work? Is it even possible not to use it at all?
  2. cheezewizz

    Active Member

    Apr 16, 2009
    As far as I can see they use it extensively to make porting apps to different devices/layouts and languages easier. I've done a few minor programs with it and really only used XML the bare minimum for only the essentials.