Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GridView Items Not of Uniform Size

 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys I have Written a custom Gridview, However my Issue here is that each single item of them is occupying different height and this has caused alignment issues also looks ugly, I don't want to hard code the height that each individual item should occupy, I wonder if this can be done more efficient. I am Posting the Image to illustrate the issue


The Xml Code for the Layout


and the Code for each GridItem thats causing this Mayhem



I am attaching the screenshot of the image
error.png
[Thumbnail for error.png]
Non Uniform Placement of Individual GridItems
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would you like it to look?
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want them to have a uniform height & width, So that it looks clean
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well can i get any help here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic