Android - Styling TableLayout

Saa*_*ooq 6 android android-tablelayout android-styles

有没有办法TableLayout完全设计风格?

我发现[这]但我想知道是否有办法将样式应用于表而不是单独的行.我有很多表,我不想单独为每一行应用样式.

我尝试将样式应用于TableLayout但是styleXML中的标记没有android:tablerow item.

如果我可以做这样的事情,那将是理想的:

<style name="Table" parent="android:Theme">
    <item name="android:textSize">24sp</item>
    <item name="android:padding">10dp</item>
    <item name="android:tablerow">@style/TableRow</item>
</style>
Run Code Online (Sandbox Code Playgroud)