Question: what is xmlns in android?
Answer: XML namespaces are used for providing uniquely named elements and attributes in an XML document. xmlns:android describes the android namespace. Its used like this because this is a design choice by google to handle the errors at compile time.