Set style on TableRow in Android

前端 未结 3 1449
我在风中等你
我在风中等你 2020-12-19 01:54

Using the Android SDK, there doesn\'t seem to be any way to set the style on a table row. I want to do the equivalent of:



        
3条回答
  •  无人及你
    2020-12-19 02:37

    As far as I can tell, there is no setStyle method. You could go through and set each individual property, but that defeats the purpose of separating your View from your controller logic. Bad.

    Has anyone figured out how to dynamically assign styles?

提交回复
热议问题