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++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -