Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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: 4559
115
  • 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?
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!