How to reference a theme attribute in a style?

后端 未结 2 647
慢半拍i
慢半拍i 2021-02-02 00:52

I\'ve got a following problem. I want to customize appearance of row in a list, but exception is thrown during inflating.

piece of code in style.xml

<         


        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-02 01:25

    The problem has been solved. I used application context to create adapter, when I changed context to activity the problem disappeared.

提交回复
热议问题