how to set the Style Attribute Programmatically in Android?

前端 未结 3 1536
深忆病人
深忆病人 2020-12-06 12:01

I have to set the style for a TextView which is created programmatically.

How do I implement style=\"@style/test\" programmaticall

3条回答
  •  粉色の甜心
    2020-12-06 12:28

    Dynamic style change is not currently supported. You must set the style before the view is create (in xml).

提交回复
热议问题