Extract Support Library layout attributes into styles

后端 未结 1 1319
清酒与你
清酒与你 2021-01-18 17:33

I am extracting styles for views which are inside Support Library\'s GridLayout.

Therefore, I have both attributes from the \"android\" namespace, e.g.

1条回答
  •  南笙
    南笙 (楼主)
    2021-01-18 17:50

    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

    2 in the styles, and not

    2

    0 讨论(0)
提交回复
热议问题