I am trying to create a dynamic table in android and was analyzing to see if I can use the TableLayout, though I see various options of how to add rows dynamically but all the examples requires me to set the column attributes like text size, text colour etc on the java/kotlin layer, I was looking for an option where I could set these properties while I define the table structure in the layout xml file itself. Not sure if TableLayout doesn't provide this feature and may have to look into something else, one option could be to use the reCyclerView and build the table myself.
↧