Android - XML

Objective #1: Explain the purpose of programming in XML format.

Objective #2: Understand the basics of XML programming.

<?xml version="1.0" encoding="utf-8"?>

<TextView

Examples of end-tags are

/>      and      ></TextView>

<!-- This is a comment!  -->

Objective #3: Edit the user interface (UI) for a simple project by editing XML files.

Objective #4: Learn the properties of XML objects.

android:id="@+id/new1"

Objective #5: Change colors in XML.

 android:background="#hexadecimal code"

android:textColor="#000"

Objective #6: Access XML objects from the Java source code.