title: Fixed header in table layout android
body: <p>I need a header to my table layout that doesn't scrolls. I retrieve values from data base so I cant guess the width of the row or column. Each column width will differ. As the data width changes the heading width should also change dynamically and align properly.</p>
  
  <p>I get correct alignment if I use a single table but the header is also scrolling.</p>
  
  <p>I tried with two table layout but not aligned properly.</p>
  
  <p>This is what i need with fixed header</p>
  
  <p><img src="https://i.stack.imgur.com/ckCCb.jpg" alt="enter image description here"></p>