Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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: 5124
135
  • 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?
 
it's a teeny, tiny, wafer thin ad:
ScroogeXHTML 8.0 - RTF to HTML5 and XHTML converter
https://coderanch.com/t/704747/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!