Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Android XML layout for different screen sizes.  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I am using TableLayout to display a table. I also use a vertical line as a separator between columns. But the problem is: different screen sizes will display the table differently. Especially the width at the tail end of the row.

How do I display the columns width as uniformly across all screen sizes? Here's my code:



Please help. Thanks.
 
Saloon Keeper
Posts: 4743
117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trying to make a UI look exactly the same everywhere won't get you far. Devices are just too manifold and too varied for that to work. Is there a specific problem with the layout that needs addressing?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!