Android v7 GridLayout -


i keep getting error when put v7 gridlayout linear layout:

unexpected namespace prefix "xmlns" found tag android.support.v7.widget.gridlayout

if don't have gridlayout within linear or relative layout work fine, have have gridlayout in kind of layout scrolling can work keep getting error above?

does know prevent happening within layout?

thanks help.

i think know issue lint: http://code.google.com/p/android/issues/detail?id=52831.

just add tools:ignore="missingprefix" gridlayout item:

<android.support.v7.widget.gridlayout ... tools:ignore="missingprefix"> 

to able use namespace, make sure included in root tag:

xmlns:tools="http://schemas.android.com/tools" 

Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -