xmlns:android="http://schemas.android.com/apk/res/android" this line is marked as error in Linear Layout
12,186
1) Only use that in the outermost layout that you have. It is sufficient to specify once. Remove all the other occurrences of it.
see Unexpected namespace prefix "xmlns" found for tag LinearLayout
Author by
user1919052
Updated on June 05, 2022Comments
-
user1919052 almost 2 years
In my XML file, i made a few
LinearLayout
's, and for some reason I get an error on line :xmlns:android="http://schemas.android.com/apk/res/android"
. It is marked with red (Error) and the error log says :"Unexpected namespace prefix "xmlns" found for tag LinearLayout"
Does somebody know what that means?