I am extracting styles for views which are inside Support Library\'s GridLayout.
Therefore, I have both attributes from the \"android\" namespace, e.g.
I have found this answer to a similar question. The same solution worked for me.
Just leave out the namespace prefix for the non-"android" attributes:
app:layout_columnSpan="2" in the layout becomes
<item name="layout_columnSpan">2</item> in the styles, and not
<item name="app:layout_columnSpan">2</item>