Read about layout_weight on this page in the section about LinearLayouts. That is the attribute you're going to want to use to get the views to all get the same width. I am not super familiar with its implementation but I would think you probably won't want width set to wrap_content when you do it that way Edit: Tip: To create a proportionate size layout on the screen, create a container view group object with the layout_width and layout_height attributes set to fill_parent; assign the children height or width to 0 (zero); then assign relative weight values to each child, depending on what proportion of the screen each should have This seems like what you want to do.
Read about layout_weight on this page in the section about LinearLayouts. That is the attribute you're going to want to use to get the views to all get the same width. I am not super familiar with its implementation but I would think you probably won't want width set to wrap_content when you do it that way.
Edit: Tip: To create a proportionate size layout on the screen, create a container view group object with the layout_width and layout_height attributes set to fill_parent; assign the children height or width to 0 (zero); then assign relative weight values to each child, depending on what proportion of the screen each should have. This seems like what you want to do.
I use layout_weight already. I also have no idea what to replace "wrap_content" with. I want it to be 20% and AFAIK android doesn't do this.. :( – katit May 19 at 21:55 see my Edit, should point you in right direction.
– Tim May 19 at 21:58 Thanks! That fixed issue #1 :) Do you have any ideas for #2 and #3? – katit May 19 at 22:01 If you put them in a tableRow (or Horizontal LinearLayout) layout with layout_height="wrap_content" then each item has a layout_height="fill_parent" it should work to your expectations.
I would like to also echo that you aren't designing a UI to android norms, however. – Eric May 19 at 23:08 @Eric Thanks! I know about design, but I'm not designer and won't be able to do better.Unfortunately.
Seems like its OK. See here: androiduipatterns. Com/2011/04/… – katit May 19 at 23:11.
Alternatively, you can use GridView ( or even ListView, Gallery) and create simple adapter, where you will override getView() method to inflate your layout. I think that layout is pretty easy to create and it will be the same for each button. In addition, you'll be able to scroll if there's more than 5 elements.
Read about layout_weight on this page in the section about LinearLayouts. That is the attribute you're going to want to use to get the views to all get the same width. I am not super familiar with its implementation but I would think you probably won't want width set to wrap_content when you do it that way.
This seems like what you want to do.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.