Help to put several listview within a horizontal layout
-
I'm making a android app using Java, i want to make a 7 days schedule layout that can be moved horizontally centering the current day to the screen and each column can be scrollable and contains a list with a variable number elements, each element contains images and text; and if an item is selected has to open a layout showing more information about the selected element.
I don't know which is the best way to do it, i thought with grids or multi-list views, but I also don't know how to implement it.
Anyone knows a way to do it and some example? I have attached a design of how the layout would come to be in case anyone doesn't understand it.
http://i.stack.imgur.com/KZDuZ.png
Again, thank you all, i hope someone knows a way to do this elegantly.
-
I'm making a android app using Java, i want to make a 7 days schedule layout that can be moved horizontally centering the current day to the screen and each column can be scrollable and contains a list with a variable number elements, each element contains images and text; and if an item is selected has to open a layout showing more information about the selected element.
I don't know which is the best way to do it, i thought with grids or multi-list views, but I also don't know how to implement it.
Anyone knows a way to do it and some example? I have attached a design of how the layout would come to be in case anyone doesn't understand it.
http://i.stack.imgur.com/KZDuZ.png
Again, thank you all, i hope someone knows a way to do this elegantly.
-
Take a look at http://developer.android.com/index.html[^].
-
I'm making a android app using Java, i want to make a 7 days schedule layout that can be moved horizontally centering the current day to the screen and each column can be scrollable and contains a list with a variable number elements, each element contains images and text; and if an item is selected has to open a layout showing more information about the selected element.
I don't know which is the best way to do it, i thought with grids or multi-list views, but I also don't know how to implement it.
Anyone knows a way to do it and some example? I have attached a design of how the layout would come to be in case anyone doesn't understand it.
http://i.stack.imgur.com/KZDuZ.png
Again, thank you all, i hope someone knows a way to do this elegantly.
Have you considered a
HorizontalScrollView
with 7 child views, one for each day?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Have you considered a
HorizontalScrollView
with 7 child views, one for each day?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
Yes, i intend to do exactly that, but i don't know how to inflate each 7 childs with different information, if every child is a ListView, how do i populate 7 ListView in the same layout using one adapter, i have searched examples but i didn't find anything yet...