20
Android layouts are defined in XML with this namespace declared in the root element:
xmlns:android="http://schemas.android.com/apk/res/android"
Example of an element:
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" />
- Why is the
androidprefix used instead of ommitting it likexmlns="http...? - Why is the prefix used only in attributes and not in elements?