0

I am using a table View in my xml. Currently all the rows look the same(shown as the first table), so I want the header to be different to the following rows, such as the 1st table in the pictureenter image description here I tried to set the first row as buttons but they look weird, does anyone got a idea? thanks so much for the help

Ricky Zheng
  • 1,279
  • 3
  • 16
  • 27

1 Answers1

0

this post Android TableLayout Header row may be helpful to you

they are using Tables inside tables

OR

see my answer in this post. android create textViews in tableRows programmitcally

  • this question author is using fixed textviews as header in xml. here you can control the textview attributes to look them like headers
  • then he is trying to add the table contents via program
Community
  • 1
  • 1
sunil
  • 6,444
  • 1
  • 32
  • 44