Do we need to add xmlns:android="http://schemas.android.com/apk/res/android" to every root view of the xml code?

  android, android-linearlayout, xml

I mean that, if I have made a LinearLayout and added xmlns:android="http://schemas.android.com/apk/res/android" to it and close it, will I need to add xmlns:android="http://schemas.android.com/apk/res/android" again to another ViewGroup in the same file?

Source: Android Questions

LEAVE A COMMENT