For Every Layout xml file contains this instruction at First Layout (xmlns:android=”http://schemas.android.com/apk/res/android”) once is enough or we need to put every Layout in the xml file.
Like this
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
------------
--------->
<Textview
---------/>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
------------
--------->
<ListView
--------------
---------------/>
</LinearLayout>
</LinearLayout>
thanks
for each xml file , in the root layout you have to set this property:
xmlns:android=”http://schemas.android.com/apk/res/android .
NOTE: Only in the root container layout of each XML file not in all containers.
Hope you got my point.