The solution I used is to replace ListView with LinearLayout. You can create all your items inside LinearLayout, they will all be displayed. So there's really no need to use ListView LinearLayout list = (LinearLayout)findViewById(R.id.
List_recycled_parts); for (int i=0; iProduct_item, null); list. AddView(vi); }.
The solution I used is to replace ListView with LinearLayout. You can create all your items inside LinearLayout, they will all be displayed. So there's really no need to use ListView.
LinearLayout list = (LinearLayout)findViewById(R.id. List_recycled_parts); for (int i=0; iInflate(R.layout. Product_item, null); list.
AddView(vi); }.
Could you please elaborate more on what you have done here.. – learningDroid Jun 22 at 17:21.
Check this site...i find it useful coderzheaven.com/index.php/2011/03/creat....
Try putting your LinearLayout inside a ScrollView... so your layout xml becomes something like this (psudo-code, but should be enough I think) ScrollView can only hold one child - so I think your LinearLayout is a good candidate for that...
This did not work – learningDroid Jun 22 at 18:10.
Nope, sadly this will not help - a ListView will always attempt to scroll its contents. So although it's not as nice as ListView, LinearLayout is the way to go here. – ktoso Sep 21 at 23:38.
List does not have to be scrollable, but should be shown completely. But the page itself should be able to scroll (with the lists in it), if the total content ist higher than the screen. It only uses a small part of the screen (about 2 lines per list), instead of filling the available height, and the lists themselves can be scrolled.
How can I change the layout to always show the whole lists but have the screen be scrollalbe?
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.